🐛 fix(feed): conditionally render updated field

Zola 0.21.0 broke this
This commit is contained in:
welpo 2025-07-19 09:45:42 +02:00
parent 36adac03a4
commit 9b7a45db53
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6

View file

@ -66,7 +66,9 @@
{%- endif -%}
" rel="alternate" type="text/html"/>
<generator uri="https://www.getzola.org/">Zola</generator>
{%- if last_updated -%}
<updated>{{ last_updated | date(format="%+") }}</updated>
{%- endif -%}
<id>{{ feed_url | safe }}</id>
{%- for page in pages %}
{%- if macros_settings::evaluate_setting_priority(setting="hide_from_feed", page=page, default_global_value=false) == "true" -%}