🐛 fix(feed): conditionally render updated field

This commit is contained in:
2025-07-21 16:00:23 +07:00
parent 14103bc551
commit 3b3d93e089

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" -%}