diff --git a/themes/chameleon/scripts/feed/.atom.xml b/themes/chameleon/scripts/feed/.atom.xml index 8903d42..2df29ec 100644 --- a/themes/chameleon/scripts/feed/.atom.xml +++ b/themes/chameleon/scripts/feed/.atom.xml @@ -25,32 +25,30 @@ {% if config.feed.content and post.content %} {% endif %} - {% if post.description %} - {{ post.description }} + {{ post.description }} {% elif post.intro %} - {{ post.intro }} + {{ post.intro }} {% elif post.excerpt %} - {{ post.excerpt }} + {{ post.excerpt }} {% elif post.content %} {% set short_content = post.content.substring(0, config.feed.content_limit) %} {% if config.feed.content_limit_delim %} {% set delim_pos = short_content.lastIndexOf(config.feed.content_limit_delim) %} {% if delim_pos > -1 %} - {{ short_content.substring(0, delim_pos) }} + {{ short_content.substring(0, delim_pos) }} {% else %} - {{ short_content }} + {{ short_content }} {% endif %} {% else %} - {{ short_content }} + {{ short_content }} {% endif %} {% endif %} - {% if post.image %} {% endif %} {% for tag in post.tags.toArray() %} - + {% endfor %} {% endfor %}