diff --git a/templates/atom.xml b/templates/atom.xml index d6865bf..c3cd2ee 100644 --- a/templates/atom.xml +++ b/templates/atom.xml @@ -67,7 +67,7 @@ {% if page.summary -%} {{ page.summary | striptags | safe | trim_end_matches(pat=".") }}… {% elif page.description -%} - {{ page.description | striptags | safe }} + {{ page.description }} {% endif -%} {%- endfor %} diff --git a/templates/macros/list_posts.html b/templates/macros/list_posts.html index 65ce400..b61d0a3 100644 --- a/templates/macros/list_posts.html +++ b/templates/macros/list_posts.html @@ -34,7 +34,7 @@
{% if post.description %} -

{{ post.description | striptags | safe }}

+

{{ post.description }}

{% elif post.summary %}

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

{% endif %} diff --git a/templates/partials/header.html b/templates/partials/header.html index d2263ed..8c4b89d 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -62,11 +62,11 @@ {%- endif -%} {%- if page.description %} - - + + {%- elif section.description %} - - + + {%- elif page.summary %}