Skip to content

Commit 2474625

Browse files
committed
fix(config, templates): rename generate_feed into generate_feeds as per Zola 0.19 breaking changes
1 parent 6c76523 commit 2474625

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title = "anemone"
33
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."
44
compile_sass = false
55
minify_html = true
6-
generate_feed = true
6+
generate_feeds = true
77
default_language = "en"
88

99
taxonomies = [

templates/footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</p>
1616

1717
</div>
18-
{% if config.generate_feed %}
18+
{% if config.generate_feeds %}
1919
<div>
2020
<a class="no-style" target="_blank" rel="noopener noreferrer" href="{{ get_url(path="atom.xml", trailing_slash=false) }}" title="Subscribe via RSS for updates."><svg class="icons"><use href="{{ get_url(path='icons.svg#rss', trailing_slash=false) | safe }}"></use></svg></a>
2121
</div>

templates/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<link rel="shortcut icon" type="image/x-icon" href="{{ get_url(path=config.extra.favicon, trailing_slash=false) }}">
8585
{% endif %}
8686
{% endblock metatags %}
87-
{% if config.generate_feed %}
87+
{% if config.generate_feeds %}
8888
{% block feed %}
8989
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
9090
{% endblock feed %}

0 commit comments

Comments
 (0)