From 63e53724c479ad967d12bb8db328c6305c258877 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 27 Nov 2019 16:34:24 +0100 Subject: [PATCH] Zola does not make the `lang` variable available when rendering rss.xml We only generate a RSS feed for the default language anyway. --- blog/templates/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/templates/rss.xml b/blog/templates/rss.xml index 983fa37e..8af1b81d 100644 --- a/blog/templates/rss.xml +++ b/blog/templates/rss.xml @@ -4,7 +4,7 @@ {{ config.base_url | safe }} {{ config.description }} Zola - {{ lang }} + {{ config.default_language }} {{ last_build_date | date(format="%a, %d %b %Y %H:%M:%S %z") }} {% for page in pages %}