fix: fix broken RSS links on other pages
This commit is contained in:
parent
903235b772
commit
5ac2345811
|
@ -21,9 +21,6 @@
|
|||
<% if (title){ %><%= title %> | <% } %><%= config.title %>
|
||||
</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<% if (theme.rss){ %>
|
||||
<link rel="alternate" href="<%= url_for(theme.rss) %>" title="<%= config.title %>" type="application/atom+xml">
|
||||
<% } %>
|
||||
<% if (theme.favicon){ %>
|
||||
<%- favicon_tag(theme.favicon) %>
|
||||
<% } %>
|
||||
|
|
|
@ -9,10 +9,9 @@
|
|||
<li class="mode-toggle">
|
||||
<i class="fa fa-moon-o"></i>
|
||||
</li>
|
||||
<% if (theme.local_search.enable) { %>
|
||||
<% if (theme.local_search.enable && config.feed) { %>
|
||||
<li class="rss">
|
||||
<!-- TODO -->
|
||||
<a href="<%= config.feed.path %>" target="_blank"><i class="fa fa-rss"></i></a>
|
||||
<a href="<%= '/' + config.feed.path %>" target="_blank"><i class="fa fa-rss"></i></a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue