summaryrefslogtreecommitdiff
path: root/layout
diff options
context:
space:
mode:
authorDoge <[email protected]>2021-05-21 02:10:13 +0800
committerDoge <[email protected]>2021-05-21 02:10:13 +0800
commit1ddf126da6faf0ea53240491903022ac2a0ce8e1 (patch)
tree131c18d84da77f22a6d77ae378f0cc7d756d7658 /layout
parentef9166a92607093dea593653a9977fba40d82ad3 (diff)
downloadchromate-1ddf126da6faf0ea53240491903022ac2a0ce8e1.tar.gz
chromate-1ddf126da6faf0ea53240491903022ac2a0ce8e1.tar.bz2
chromate-1ddf126da6faf0ea53240491903022ac2a0ce8e1.zip
Fix favicon doest show bug
Diffstat (limited to 'layout')
-rw-r--r--layout/_partial/head.ejs4
1 files changed, 3 insertions, 1 deletions
diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs
index 563f111..e093db6 100644
--- a/layout/_partial/head.ejs
+++ b/layout/_partial/head.ejs
@@ -1,6 +1,8 @@
<head>
<title><%= config.title %></title>
- <% if (theme.favicon) favicon_tag(theme.favicon) %>
+ <% if (theme.favicon) { %>
+ <%- favicon_tag(theme.favicon) %>
+ <% } %>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">