From 26ab720d511c1c4434c931a08f0dfb3e54076fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Romanowski?= Date: Sat, 17 Aug 2024 17:48:30 +0200 Subject: [PATCH] Tweak default config to reflect changes in RSS generation after Zola 0.19 changes --- README.md | 4 +++- config.toml | 4 ++-- templates/index.html | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 586b50c..b8fc4b7 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ See the live demo (of the default configuration) here: https://pawroman.github.io/zola-theme-terminimal/ -Tested with Zola v0.17.2. Please note that earlier versions might not work because of breaking changes across Zola versions. +Tested with Zola v0.19.2. + +Please note that earlier (and older) versions might not work because of breaking changes across Zola versions. #### Fork disclaimer diff --git a/config.toml b/config.toml index cfcceca..b03451a 100644 --- a/config.toml +++ b/config.toml @@ -6,10 +6,10 @@ title = "Zola Terminimal theme" compile_sass = true # The theme supports feeds (RSS and ATOM) -generate_feed = true +generate_feeds = true # Use `rss.xml` for RSS feeds and `atom.xml` for ATOM. -feed_filename = "atom.xml" +feed_filenames = ["rss.xml", "atom.xml"] # Optional: enable tags taxonomies = [ diff --git a/templates/index.html b/templates/index.html index 5f7a208..fd07b4c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -24,7 +24,7 @@ {%- endif %} {%- endfor %} - {% endif -%} + {%- endif -%} {%- if config.extra.favicon %}