fix: rss link address in the <head>
This commit is contained in:
parent
eefaced348
commit
ee5f2bbd15
|
@ -29,8 +29,8 @@
|
||||||
}) %>
|
}) %>
|
||||||
<%- meta(page) %>
|
<%- meta(page) %>
|
||||||
|
|
||||||
<% if (theme.rss) { %>
|
<% if (theme.customize && theme.customize.social_links && theme.customize.social_links.rss) { %>
|
||||||
<link rel="alternative" href="<%- theme.rss %>" title="<%= config.title %>" type="application/atom+xml" />
|
<link rel="alternative" href="<%- theme.customize.social_links.rss %>" title="<%= config.title %>" type="application/atom+xml" />
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<% if (theme.customize.favicon) { %>
|
<% if (theme.customize.favicon) { %>
|
||||||
|
@ -45,4 +45,4 @@
|
||||||
|
|
||||||
<%- js('vendor/jquery/2.1.3/jquery.min') %>
|
<%- js('vendor/jquery/2.1.3/jquery.min') %>
|
||||||
<%- partial('plugin/scripts', { isHead: true }) %>
|
<%- partial('plugin/scripts', { isHead: true }) %>
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in New Issue