From 2d81aec3b2509d56c1f3d99df3ad94a0d15d7e7d Mon Sep 17 00:00:00 2001 From: tverrbjelke Date: Thu, 26 Sep 2013 13:29:44 +0200 Subject: 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 4dd1f52..866d6a5 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 %} + -- cgit From b0e984531e137f0f94c35fe01939c0f131d0950f Mon Sep 17 00:00:00 2001 From: tverrbjelke Date: Thu, 26 Sep 2013 13:47:07 +0200 Subject: see commit 2d81aec3b2509d56c1f3d99df3ad94a0d15d7e7d --- tuxlite_zf/templates/base.html | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/tuxlite_zf/templates/base.html b/tuxlite_zf/templates/base.html index fc4072e..5ee667d 100644 --- a/tuxlite_zf/templates/base.html +++ b/tuxlite_zf/templates/base.html @@ -11,6 +11,21 @@ + + + {% if FEED_ALL_ATOM %} + + {% endif %} + {% if FEED_ATOM %} + + {% endif %} + {% if FEED_RSS %} + + {% endif %} + {% if FEED_ALL_RSS %} + + {% endif %} + @@ -60,12 +75,20 @@ {% if categories %} -- cgit From 8ef32802eef326da10838348a80c38c6bf465aad Mon Sep 17 00:00:00 2001 From: tverrbjelke Date: Thu, 26 Sep 2013 13:59:52 +0200 Subject: 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. --- bootstrap/templates/base.html | 23 ++++++++++++++++------- 1 file 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 @@ - - {% if FEED_ALL_ATOM %} - - {% endif %} - {% if FEED_ALL_RSS %} - - {% endif %} + + {% if FEED_ALL_ATOM %} + + {% endif %} + + {% if FEED_ATOM %} + + {% endif %} + + {% if FEED_ALL_RSS %} + + {% endif %} + + {% if FEED_RSS %} + + {% endif %} {% include "analytics.html" %} {% include "disqus.html" %} -- cgit