This commit is contained in:
xaoxuu 2021-06-23 16:39:27 +08:00
parent 910bfbeecd
commit 50b890c396
1 changed files with 4 additions and 2 deletions

View File

@ -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) { %>
<link rel="shortcut icon" type='image/x-icon' href="<%- url_for(config.favicon) %>">
<% } %>
</head>