aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authortverrbjelke <tverrbjelke@gmx.de>2013-09-26 13:59:52 +0200
committertverrbjelke <tverrbjelke@gmx.de>2013-09-26 13:59:52 +0200
commit8ef32802eef326da10838348a80c38c6bf465aad (patch)
tree9fe068df8cdb44cc20e4211e57f83b83bd7a8f4c /bootstrap
parentb0e984531e137f0f94c35fe01939c0f131d0950f (diff)
downloadpelican-themes-8ef32802eef326da10838348a80c38c6bf465aad.tar.gz
see commit 2d81aec3b2509d56c1f3d99df3ad94a0d15d7e7d
see http://querbalken.net/howto-activate-feeding-for-pelican-blog-en.html Extended Pelican theme bootstrap For firefox dynamic-bookmark the metadata were only aware of FEED_ALL_ATOM and FEED_ALL_RSS, but the docs http://docs.getpelican.com/en/latest/settings.html also name FEED_ATOM and FEED_RSS. So I added awareness for them. Since the Theme did not show any menu-link for the feeds, I did NOT add them.
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/templates/base.html23
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" %}