💄 style: standardise posts' summary & description
* Cleans up newlines and html tags. * Removes ellipsis from summary.
This commit is contained in:
parent
b5fae83f28
commit
f03a9b3c4f
@ -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 }}…</p>
|
||||
<p>{{ post.summary | striptags | safe }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user