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 (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.
|
||||
icons: false
|
||||
|
|
|
@ -26,8 +26,10 @@
|
|||
<%/* Add Open Graph meta tags for easier sharing on social networking sites */%>
|
||||
<%/* Modified from original source for compatibility with my blog */%>
|
||||
<%- openGraph() %>
|
||||
<% if (theme.rss) { %>
|
||||
<link rel="alternate" href="<%- theme.rss %>" title="<%= config.title %>" type="application/atom+xml">
|
||||
<% if (config.feed) { %>
|
||||
<%- feed_tag() %>
|
||||
<% } else if (theme.rss) { %>
|
||||
<%- feed_tag(theme.rss) %>
|
||||
<% } %>
|
||||
<%/* Favicon */%>
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=yyQLrgrMjG">
|
||||
|
|
Loading…
Reference in New Issue