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