1
0
Fork 0
forked from wezm/wezm.net

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 # Whether to automatically compile all Sass files in the sass directory
compile_sass = true compile_sass = true
generate_rss = true generate_feed = true
feed_filename = "rss.xml"
# Whether to do syntax highlighting # Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola # 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> <managingEditor>{{ config.extra.email }} ({{ config.extra.author }})</managingEditor>
<webMaster>{{ config.extra.email }} ({{ config.extra.author }})</webMaster> <webMaster>{{ config.extra.email }} ({{ config.extra.author }})</webMaster>
<atom:link href="{{ feed_url }}" rel="self" type="application/rss+xml"/> <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 %} {% for page in pages %}
<item> <item>
<title>{{ page.title }}</title> <title>{{ page.title }}</title>