From 247462516c49c2d79998db385ed8009252391ec8 Mon Sep 17 00:00:00 2001
From: Alexis Horgix Chotard
Date: Wed, 24 Jul 2024 04:34:29 +0200
Subject: [PATCH] fix(config, templates): rename `generate_feed` into
`generate_feeds` as per Zola 0.19 breaking changes
---
config.toml | 2 +-
templates/footer.html | 2 +-
templates/head.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/config.toml b/config.toml
index 62d5d60..653d6c5 100644
--- a/config.toml
+++ b/config.toml
@@ -3,7 +3,7 @@ title = "anemone"
description = "A minimalist Zola theme that prioritizes clean CSS and avoids heavy JavaScript. Enjoy a seamless user experience with lightning-fast load times. Let your content take center stage in a clutter-free, elegant design that enhances readability. Responsive and efficient, anemone brings focus to your ideas."
compile_sass = false
minify_html = true
-generate_feed = true
+generate_feeds = true
default_language = "en"
taxonomies = [
diff --git a/templates/footer.html b/templates/footer.html
index b9a12b5..a17bcfa 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -15,7 +15,7 @@
- {% if config.generate_feed %}
+ {% if config.generate_feeds %}
diff --git a/templates/head.html b/templates/head.html
index ab0877f..ab47371 100644
--- a/templates/head.html
+++ b/templates/head.html
@@ -84,7 +84,7 @@
{% endif %}
{% endblock metatags %}
-{% if config.generate_feed %}
+{% if config.generate_feeds %}
{% block feed %}
{% endblock feed %}