on master help sign in
config: fix rss feeds

Fixes #602

commit55bb74980a69aea64caeeaa65601ac390d9ce9df authorMatilde Park <matilde@tlon.io> dateTue 20 Apr 2021, 13:51 (6 years ago) parent961ea8f
2 files changed+2−1
config.toml+1 templates/rss.xml+1−1
config.toml+1
@@ -11,6 +11,7 @@ compile_sass = true
1111# Whether to generate a RSS feed automatically
1212generate_feed = true
1313build_search_index = true
14+feed_filename = "rss.xml"
1415
1516[markdown]
1617# A list of directories used to search for additional `.sublime-syntax` files.
templates/rss.xml+1−1
@@ -7,7 +7,7 @@
77 <generator>Zola</generator>
88 <language>{{ config.default_language }}</language>
99 <atom:link href="{{ feed_url | safe }}" rel="self" type="application/rss+xml"/>
10− <lastBuildDate>{{ last_build_date | date(format="%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
10+ <lastBuildDate>{{ last_updated | date(format="%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
1111 {% for page in pages %}
1212 <item>
1313 <title>{{ page.title }}</title>