diff --git a/templates/atom.xml b/templates/atom.xml index 3aa11f0..2bb2a8e 100644 --- a/templates/atom.xml +++ b/templates/atom.xml @@ -75,7 +75,7 @@ {{ page.permalink | safe }} {% if page.summary -%} - {{ page.summary | striptags | safe }} + {{ page.summary | striptags | safe | trim_end_matches(pat=".") }}… {% elif page.description -%} {{ page.description | striptags | safe }} {% endif -%} diff --git a/templates/macros/list_posts.html b/templates/macros/list_posts.html index 1b12c68..bba9aca 100644 --- a/templates/macros/list_posts.html +++ b/templates/macros/list_posts.html @@ -34,7 +34,7 @@ {% if post.description %}

{{ post.description | striptags | safe }}

{% elif post.summary %} -

{{ post.summary | striptags | safe }}

+

{{ post.summary | striptags | safe | trim_end_matches(pat=".") }}…

{% endif %}