From 0bf8059eff49e2afacd93a3004b2f734d08ac91e Mon Sep 17 00:00:00 2001 From: Talha Mansoor Date: Sun, 10 Feb 2019 22:52:16 +0500 Subject: [PATCH] Fix bug. Links Tag and category feeds are not generated correctly This is due to compatibility issue with Jinja2. See here for details https://github.com/getpelican/pelican/issues/2442#issuecomment-446303114 --- templates/_includes/feeds_categories.html | 4 ++-- templates/_includes/feeds_tags.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/_includes/feeds_categories.html b/templates/_includes/feeds_categories.html index c69cfddd..7d6a87cf 100644 --- a/templates/_includes/feeds_categories.html +++ b/templates/_includes/feeds_categories.html @@ -1,13 +1,13 @@ {% if CATEGORY_FEED_ATOM %} {% for category in categories %} {% set cat_name = category[0].slug %} - + {% endfor %} {% endif %} {% if CATEGORY_FEED_RSS %} {% for category in categories %} {% set cat_name = category[0].slug %} - + {% endfor %} {% endif %} diff --git a/templates/_includes/feeds_tags.html b/templates/_includes/feeds_tags.html index 74b2fc16..93ca6178 100644 --- a/templates/_includes/feeds_tags.html +++ b/templates/_includes/feeds_tags.html @@ -1,12 +1,12 @@ {% if TAG_FEED_ATOM %} {% for tag in tags %} {% set tag_name = tag[0].slug %} - + {% endfor %} {% endif %} {% if TAG_FEED_RSS %} {% for tag in tags %} {% set tag_name = tag[0].slug %} - + {% endfor %} {% endif %}