From 2d81aec3b2509d56c1f3d99df3ad94a0d15d7e7d Mon Sep 17 00:00:00 2001 From: tverrbjelke Date: Thu, 26 Sep 2013 13:29:44 +0200 Subject: [PATCH] see http://querbalken.net/howto-activate-feeding-for-pelican-blog-en.html Extended and fixed Pelican theme tuxlite_tbs to * become compatible with Pelican 3.2 and 3.3 documentation: http://docs.getpelican.com/en/latest/settings.html to get the feed links working with with FEED_ATOM and FEED_RSS (which now default to "None") but also FEED_ALL_ATOM and FEED_ALL_RSS. * enable firefox to dynamic-bookmark the feeds by adding meta data. --- tuxlite_tbs/templates/base.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/tuxlite_tbs/templates/base.html b/tuxlite_tbs/templates/base.html index 4dd1f52d6..866d6a52e 100644 --- a/tuxlite_tbs/templates/base.html +++ b/tuxlite_tbs/templates/base.html @@ -18,6 +18,20 @@ + + {% if FEED_ALL_ATOM %} + + {% endif %} + {% if FEED_ATOM %} + + {% endif %} + {% if FEED_RSS %} + + {% endif %} + {% if FEED_ALL_RSS %} + + {% endif %} + @@ -70,10 +84,22 @@
  • Archives
  • Tags + + + + {% if FEED_ALL_ATOM %} +
  • Atom feed
  • + {% endif %} + {% if FEED_ATOM %}
  • Atom feed
  • + {% endif %} {% if FEED_RSS %}
  • RSS feed
  • {% endif %} + {% if FEED_ALL_RSS %} +
  • RSS feed
  • + {% endif %} +