Fix RSS generation

Since https://github.com/getzola/zola/blob/master/CHANGELOG.md#0110-2020-05-25, Zola renamed this option to config.generate_feed
This commit is contained in:
Pablo Martí Gamboa 2022-11-10 11:24:49 +01:00 committed by GitHub
parent 0cc423545a
commit c2ecdad64d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@
<title>{%- block title %}{{ config.title }}{% endblock title -%}</title>
{{ head_macros::head(config=config) }}
{%- if config.generate_rss %}
{%- if config.generate_feed %}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml") | safe }}">
{% endif -%}