diff options
author | Alexis Metaireau <alexis@notmyidea.org> | 2014-09-25 00:40:23 +0200 |
---|---|---|
committer | Alexis Metaireau <alexis@notmyidea.org> | 2014-09-25 00:40:23 +0200 |
commit | 34e975a6400f380157a1c4f2a6136fc778fe1879 (patch) | |
tree | 6609c3ec37f9746bd27f52e5bb93729c2871eeaa /bootstrap/templates | |
parent | b879f580f1fed6091edb882c399ee0810fb8e438 (diff) | |
parent | 8ef32802eef326da10838348a80c38c6bf465aad (diff) | |
download | pelican-themes-34e975a6400f380157a1c4f2a6136fc778fe1879.tar.gz |
Merge pull request #150 from tverrbjelke/master
Theme become compatible with Pelican documentation, enable firefox to dynamic-bookmark the feeds by adding meta data.
Diffstat (limited to 'bootstrap/templates')
-rw-r--r-- | bootstrap/templates/base.html | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/bootstrap/templates/base.html b/bootstrap/templates/base.html index 45ddcdc..e9edd0e 100644 --- a/bootstrap/templates/base.html +++ b/bootstrap/templates/base.html @@ -16,13 +16,22 @@ <link href="{{ SITEURL }}/theme/local.css" rel="stylesheet"> <link href="{{ SITEURL }}/theme/pygments.css" rel="stylesheet"> - <!-- Feeds --> - {% if FEED_ALL_ATOM %} - <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" /> - {% endif %} - {% if FEED_ALL_RSS %} - <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> - {% endif %} + <!-- Feeds --> + {% if FEED_ALL_ATOM %} + <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" /> + {% endif %} + + {% if FEED_ATOM %} + <link href="{{ FEED_ATOM }}" rel="alternate" title="{{ SITENAME }}" type="application/atom+xml"> + {% endif %} + + {% if FEED_ALL_RSS %} + <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> + {% endif %} + + {% if FEED_RSS %} + <link href="{{ FEED_RSS }}" rel="alternate" title="{{ SITENAME }}" type="application/rss+xml"> + {% endif %} {% include "analytics.html" %} {% include "disqus.html" %} |