From 5ac2345811083efe829a9ed257496d36cf42933b Mon Sep 17 00:00:00 2001 From: XPoet Date: Sun, 26 Apr 2020 16:10:40 +0800 Subject: [PATCH] fix: fix broken RSS links on other pages --- layout/_partial/head.ejs | 3 --- layout/_partial/tools.ejs | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index a6684cb..c6d6ef0 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -21,9 +21,6 @@ <% if (title){ %><%= title %> | <% } %><%= config.title %> - <% if (theme.rss){ %> - - <% } %> <% if (theme.favicon){ %> <%- favicon_tag(theme.favicon) %> <% } %> diff --git a/layout/_partial/tools.ejs b/layout/_partial/tools.ejs index 8e4b414..fef3e97 100644 --- a/layout/_partial/tools.ejs +++ b/layout/_partial/tools.ejs @@ -9,10 +9,9 @@
  • - <% if (theme.local_search.enable) { %> + <% if (theme.local_search.enable && config.feed) { %>
  • - - +
  • <% } %>