From e806556f94785d12b30003cf9f0bab05c31923aa Mon Sep 17 00:00:00 2001 From: tzinm Date: Sun, 11 May 2025 11:31:25 +0200 Subject: [PATCH] :bug: fix: prioritise description > summary in feed --- templates/atom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/atom.xml b/templates/atom.xml index 8b54926..1c8e18b 100644 --- a/templates/atom.xml +++ b/templates/atom.xml @@ -98,10 +98,10 @@ {% if config.extra.full_content_in_feed %} {{ page.content }} {% endif -%} - {% if page.summary -%} - {{ page.summary | striptags | trim_end_matches(pat=".") | safe }}… - {% elif page.description -%} + {% if page.description -%} {{ page.description }} + {% elif page.summary -%} + {{ page.summary | striptags | trim_end_matches(pat=".") | safe }}… {% endif -%} {%- endfor %}