💄 style: standardise posts' summary & description

* Cleans up newlines and html tags.

* Removes ellipsis from summary.
main
welpo 2 years ago
parent b5fae83f28
commit f03a9b3c4f
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -32,9 +32,9 @@
<div class="description">
{% if post.description %}
<p>{{ post.description }}</p>
<p>{{ post.description | striptags | safe }}</p>
{% elif post.summary %}
<p>{{ post.summary | safe }}&hellip;</p>
<p>{{ post.summary | striptags | safe }}</p>
{% endif %}
</div>

Loading…
Cancel
Save