diff --git a/themes/tabi/templates/atom.xml b/themes/tabi/templates/atom.xml index 8b54926..9956ad9 100644 --- a/themes/tabi/templates/atom.xml +++ b/themes/tabi/templates/atom.xml @@ -97,11 +97,11 @@ {{ page.permalink | safe }} {% if config.extra.full_content_in_feed %} {{ page.content }} - {% endif -%} - {% if page.summary -%} + {% endif -%} + {% if page.description -%} + {{ page.description }} + {% elif page.summary -%} {{ page.summary | striptags | trim_end_matches(pat=".") | safe }}… - {% elif page.description -%} - {{ page.description }} {% endif -%} {%- endfor %}