forked from deepStateMirrors/tabi
💄 style: standardise posts' summary & description
* Cleans up newlines and html tags. * Removes ellipsis from summary.
This commit is contained in:
parent
b5fae83f28
commit
f03a9b3c4f
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue