From a6a9b793896a982e2427a6d9c431fd3efe92432f Mon Sep 17 00:00:00 2001 From: Arnaud Rebillout Date: Sun, 26 Jul 2020 10:27:06 +0700 Subject: [PATCH] Update feeds fragment, add support for every feed-related variables All this boilerplate is taken straight from the pelican simple theme: - https://github.com/getpelican/pelican/blob/master/pelican/themes/simple/templates/base.html --- templates/fragments/feeds.html | 25 ++++++++++++++++++++++++- templates/sidebar.html | 2 +- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/templates/fragments/feeds.html b/templates/fragments/feeds.html index b1b6267..cec3ac1 100644 --- a/templates/fragments/feeds.html +++ b/templates/fragments/feeds.html @@ -1 +1,24 @@ - +{% if FEED_ALL_ATOM %} + +{% endif %} +{% if FEED_ALL_RSS %} + +{% endif %} +{% if FEED_ATOM %} + +{% endif %} +{% if FEED_RSS %} + +{% endif %} +{% if CATEGORY_FEED_ATOM and category %} + +{% endif %} +{% if CATEGORY_FEED_RSS and category %} + +{% endif %} +{% if TAG_FEED_ATOM and tag %} + +{% endif %} +{% if TAG_FEED_RSS and tag %} + +{% endif %} diff --git a/templates/sidebar.html b/templates/sidebar.html index 0ce5798..7c2c2b9 100644 --- a/templates/sidebar.html +++ b/templates/sidebar.html @@ -35,7 +35,7 @@ {% endif %} {% endfor %} - +