From dcf17840ab5b243ef54cd122172155b764c62ab8 Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Thu, 4 Mar 2021 09:33:12 +0100 Subject: [PATCH] add rss feed, publish in template --- homepage/publishconf.py | 1 + homepage/theme/templates/base.html | 2 ++ 2 files changed, 3 insertions(+) diff --git a/homepage/publishconf.py b/homepage/publishconf.py index 17a1e20..949e597 100644 --- a/homepage/publishconf.py +++ b/homepage/publishconf.py @@ -11,6 +11,7 @@ SITEURL = os.environ.get('SITEURL', 'https://www.offen.dev') # RELATIVE_URLS = True FEED_ALL_ATOM = 'feeds/all.atom.xml' +FEED_ALL_RSS = 'feeds/all.rss.xml' DELETE_OUTPUT_DIRECTORY = True diff --git a/homepage/theme/templates/base.html b/homepage/theme/templates/base.html index 73a2ed6..84d1e0c 100644 --- a/homepage/theme/templates/base.html +++ b/homepage/theme/templates/base.html @@ -32,6 +32,8 @@ {% if OFFEN_ACCOUNT_ID and not no_stats %} {% endif %} + + {% endblock %}