From a05086f29e511bcbac5333d3c32a5880f6ac8b50 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Mon, 7 Sep 2020 10:48:16 +1000 Subject: [PATCH] Update config for newer Zola --- v2/config.toml | 3 ++- v2/templates/rss.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/v2/config.toml b/v2/config.toml index 8795743..db17bc5 100644 --- a/v2/config.toml +++ b/v2/config.toml @@ -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 diff --git a/v2/templates/rss.xml b/v2/templates/rss.xml index 85de120..b5c688d 100644 --- a/v2/templates/rss.xml +++ b/v2/templates/rss.xml @@ -9,7 +9,7 @@ {{ config.extra.email }} ({{ config.extra.author }}) {{ config.extra.email }} ({{ config.extra.author }}) - {{ last_build_date | date(format="%a, %d %b %Y %H:%M:%S %z") }} + {{ last_updated | date(format="%a, %d %b %Y %H:%M:%S %z") }} {% for page in pages %} {{ page.title }}