From 31f4f705d63d6abfc06766cd943552def7b3cf42 Mon Sep 17 00:00:00 2001 From: Julien Jershon Date: Thu, 20 Dec 2018 10:23:48 +0100 Subject: [PATCH] Remove positional argument formatting on object-related feed URLs to be complient with pelican 4.0 --- 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 df909d7..5a92153 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 %}