From 50b890c396bd6d797c419c77854b890cca05b929 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 23 Jun 2021 16:39:27 +0800 Subject: [PATCH] favicon --- layout/_partial/head.ejs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 98509ec..164bb9c 100755 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -77,11 +77,13 @@ function og_args() { <%- css('/css/main.css') %> <% } %> + <% if (config.favicon) { %> + <%- favicon_tag(config.favicon) %> + <% } %> + <% if (config.inject && config.inject.head){ %> <% (config.inject.head||[]).forEach(function(item){ %> <%- item %> <% }) %> - <% } else if (config.favicon) { %> - <% } %>