From bc2f0ec6f9426f60e8035269f5e48f3cc3f0cc52 Mon Sep 17 00:00:00 2001 From: Doge Date: Tue, 11 May 2021 10:01:59 +0800 Subject: Favicon support --- layout/_partial/head.ejs | 5 ++--- layout/_partial/scripts.ejs | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'layout') diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index c52c231..43b1d5c 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -1,6 +1,6 @@ <%= config.title %> - <% if (config.favicon) favicon_tag(config.favicon) %> + <% if (theme.favicon) favicon_tag(theme.favicon) %> @@ -19,8 +19,7 @@ <% } %> + - - <%- css("css/style.min.css") %> \ No newline at end of file diff --git a/layout/_partial/scripts.ejs b/layout/_partial/scripts.ejs index c3af22a..12614e9 100644 --- a/layout/_partial/scripts.ejs +++ b/layout/_partial/scripts.ejs @@ -35,6 +35,9 @@ <% } %> + + + <% if (is_post() && theme.podcast && page.podcast) { %> -- cgit v1.2.3