diff --git a/templates/atom.xml b/templates/atom.xml index 10824dc..4f59410 100644 --- a/templates/atom.xml +++ b/templates/atom.xml @@ -69,7 +69,7 @@ {{ page.content }} {% endif -%} {% if page.summary -%} - {{ page.summary | striptags | safe | trim_end_matches(pat=".") }}… + {{ page.summary | striptags | trim_end_matches(pat=".") | safe }}… {% elif page.description -%} {{ page.description }} {% endif -%} diff --git a/templates/macros/list_posts.html b/templates/macros/list_posts.html index 8c2e1bf..1063cd5 100644 --- a/templates/macros/list_posts.html +++ b/templates/macros/list_posts.html @@ -36,7 +36,7 @@ {% if post.description %}

{{ post.description }}

{% elif post.summary %} -

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

+

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

{% endif %} {{ macros_translate::translate(key="read_more", default="Read more", language_strings=language_strings) }}  diff --git a/templates/partials/header.html b/templates/partials/header.html index 8b82ddf..5645edd 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -69,8 +69,8 @@ {%- elif page.summary %} - - + + {%- else %}