Plain text news boxes
This commit is contained in:
parent
b6e38488e8
commit
f6d5fad12f
1 changed files with 6 additions and 6 deletions
|
@ -13,9 +13,9 @@
|
|||
<h3><span>{{ entry.title }}</span></h3>
|
||||
<p>
|
||||
{% if entry.excerpt %}
|
||||
{{ entry.excerpt|richtext }}
|
||||
{{ entry.excerpt|striptags }}
|
||||
{% else %}
|
||||
{{ entry.body|richtext|truncatewords_html:70 }}
|
||||
{{ entry.body|striptags|truncatewords_html:70 }}
|
||||
{% endif %}
|
||||
</p>
|
||||
<a href="{% pageurl entry %}" class="btn btn-default btn-xs">Mehr erfahren</a>
|
||||
|
|
Loading…
Reference in a new issue