From 3b3d93e0892e5c337339526673c6d32efd3de72c Mon Sep 17 00:00:00 2001 From: zloylinux Date: Mon, 21 Jul 2025 16:00:23 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(feed):=20conditionally=20ren?= =?UTF-8?q?der=20updated=20field?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/tabi/templates/atom.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/tabi/templates/atom.xml b/themes/tabi/templates/atom.xml index 9956ad9..9e455fb 100644 --- a/themes/tabi/templates/atom.xml +++ b/themes/tabi/templates/atom.xml @@ -66,7 +66,9 @@ {%- endif -%} " rel="alternate" type="text/html"/> Zola - {{ last_updated | date(format="%+") }} + {%- if last_updated -%} + {{ last_updated | date(format="%+") }} + {%- endif -%} {{ feed_url | safe }} {%- for page in pages %} {%- if macros_settings::evaluate_setting_priority(setting="hide_from_feed", page=page, default_global_value=false) == "true" -%}