forked from deepStateMirrors/tabi
🐛 fix(feed): conditionally render updated
field
Zola 0.21.0 broke this
This commit is contained in:
parent
36adac03a4
commit
9b7a45db53
1 changed files with 2 additions and 0 deletions
|
@ -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" -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue