cooler ellipses

This commit is contained in:
welpo 2026-01-31 21:20:27 +01:00
parent acb5c0f330
commit 876c3f64a9
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6

View file

@ -167,7 +167,7 @@
<p>{{ post.description | markdown(inline=true) | safe }}</p> <p>{{ post.description | markdown(inline=true) | safe }}</p>
{% endif %} {% endif %}
{% if post.summary %} {% if post.summary %}
<p>{{ post.summary | striptags | trim_end_matches(pat=".") | safe }}...</p> <p>{{ post.summary | striptags | trim_end_matches(pat=".") | safe }}</p>
{% elif config.extra.auto_generate_post_summary %} {% elif config.extra.auto_generate_post_summary %}
<p>{{ post.content | striptags | truncate(length=config.extra.auto_generated_summary_length) | safe }}</p> <p>{{ post.content | striptags | truncate(length=config.extra.auto_generated_summary_length) | safe }}</p>
{% endif %} {% endif %}