From ea3a121b6b5033acda29b4dd38c322ed7e1c5841 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Champin Date: Sun, 28 Apr 2019 16:40:19 +0200 Subject: [PATCH] fixed buggy format in jinja2 templates --- alchemy/templates/include/xml_feeds.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/alchemy/templates/include/xml_feeds.html b/alchemy/templates/include/xml_feeds.html index 5a92153..d67adfa 100644 --- a/alchemy/templates/include/xml_feeds.html +++ b/alchemy/templates/include/xml_feeds.html @@ -13,14 +13,14 @@ href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}">{% endif %} {% if CATEGORY_FEED_ATOM and category %} {% endif %} + href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM.format(slug=category.slug) }}">{% endif %} {% if CATEGORY_FEED_RSS and category %} {% endif %} + href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS.format(slug=category.slug) }}">{% endif %} {% if TAG_FEED_ATOM and tag %} {% endif %} + href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM.format(slug=tag.slug) }}">{% endif %} {% if TAG_FEED_RSS and tag %} + href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS.format(slug=tag.slug) }}"> {% endif %}