fix(config, templates): rename generate_feed into generate_feeds as per Zola 0.19 breaking changes

This commit is contained in:
Alexis Horgix Chotard
2024-07-24 04:34:29 +02:00
parent 6c76523b85
commit 247462516c
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
</p>
</div>
{% if config.generate_feed %}
{% if config.generate_feeds %}
<div>
<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>
</div>

View File

@@ -84,7 +84,7 @@
<link rel="shortcut icon" type="image/x-icon" href="{{ get_url(path=config.extra.favicon, trailing_slash=false) }}">
{% endif %}
{% endblock metatags %}
{% if config.generate_feed %}
{% if config.generate_feeds %}
{% block feed %}
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
{% endblock feed %}