🐛 fix(feed): conditionally render updated field
This commit is contained in:
@@ -66,7 +66,9 @@
|
||||
{%- endif -%}
|
||||
" rel="alternate" type="text/html"/>
|
||||
<generator uri="https://www.getzola.org/">Zola</generator>
|
||||
<updated>{{ last_updated | date(format="%+") }}</updated>
|
||||
{%- 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" -%}
|
||||
|
||||
Reference in New Issue
Block a user