fix: rss link address in the <head>

This commit is contained in:
Ruipeng Zhang 2016-07-17 10:10:53 +08:00 committed by GitHub
parent eefaced348
commit ee5f2bbd15
1 changed files with 3 additions and 3 deletions

View File

@ -29,8 +29,8 @@
}) %>
<%- meta(page) %>
<% if (theme.rss) { %>
<link rel="alternative" href="<%- theme.rss %>" title="<%= config.title %>" type="application/atom+xml" />
<% if (theme.customize && theme.customize.social_links && theme.customize.social_links.rss) { %>
<link rel="alternative" href="<%- theme.customize.social_links.rss %>" title="<%= config.title %>" type="application/atom+xml" />
<% } %>
<% if (theme.customize.favicon) { %>
@ -45,4 +45,4 @@
<%- js('vendor/jquery/2.1.3/jquery.min') %>
<%- partial('plugin/scripts', { isHead: true }) %>
</head>
</head>