Update config for newer Zola

This commit is contained in:
Wesley Moore 2020-09-07 10:48:16 +10:00
parent 1c4a9bfd70
commit a05086f29e
No known key found for this signature in database
GPG key ID: BF67766C0BC2D0EE
2 changed files with 3 additions and 2 deletions

View file

@ -8,7 +8,8 @@ description = "Posts by Wesley Moore"
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true
generate_rss = true
generate_feed = true
feed_filename = "rss.xml"
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola

View file

@ -9,7 +9,7 @@
<managingEditor>{{ config.extra.email }} ({{ config.extra.author }})</managingEditor>
<webMaster>{{ config.extra.email }} ({{ config.extra.author }})</webMaster>
<atom:link href="{{ feed_url }}" rel="self" type="application/rss+xml"/>
<lastBuildDate>{{ last_build_date | date(format="%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
<lastBuildDate>{{ last_updated | date(format="%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
{% for page in pages %}
<item>
<title>{{ page.title }}</title>