mirror of https://gitlab.com/curben/blog
refactor: utilise feed_tag() helper
- https://hexo.io/docs/helpers#feed-tag
This commit is contained in:
parent
a852f0e8ce
commit
54d1a3856d
|
@ -104,9 +104,5 @@ theme_config:
|
||||||
Eepsite: http://mdleom.i2p
|
Eepsite: http://mdleom.i2p
|
||||||
'Eepsite (B32)': http://ggucqf2jmtfxcw7us5sts3x7u2qljseocfzlhzebfpihkyvhcqfa.b32.i2p
|
'Eepsite (B32)': http://ggucqf2jmtfxcw7us5sts3x7u2qljseocfzlhzebfpihkyvhcqfa.b32.i2p
|
||||||
|
|
||||||
# Your Feed Location
|
|
||||||
# https://github.com/hexojs/hexo-generator-feed
|
|
||||||
rss: /atom.xml
|
|
||||||
|
|
||||||
# Load forkawesome icons? See the links option below.
|
# Load forkawesome icons? See the links option below.
|
||||||
icons: false
|
icons: false
|
||||||
|
|
|
@ -26,8 +26,10 @@
|
||||||
<%/* Add Open Graph meta tags for easier sharing on social networking sites */%>
|
<%/* Add Open Graph meta tags for easier sharing on social networking sites */%>
|
||||||
<%/* Modified from original source for compatibility with my blog */%>
|
<%/* Modified from original source for compatibility with my blog */%>
|
||||||
<%- openGraph() %>
|
<%- openGraph() %>
|
||||||
<% if (theme.rss) { %>
|
<% if (config.feed) { %>
|
||||||
<link rel="alternate" href="<%- theme.rss %>" title="<%= config.title %>" type="application/atom+xml">
|
<%- feed_tag() %>
|
||||||
|
<% } else if (theme.rss) { %>
|
||||||
|
<%- feed_tag(theme.rss) %>
|
||||||
<% } %>
|
<% } %>
|
||||||
<%/* Favicon */%>
|
<%/* Favicon */%>
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=yyQLrgrMjG">
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=yyQLrgrMjG">
|
||||||
|
|
Loading…
Reference in New Issue