Plain text news boxes

This commit is contained in:
Oleg Lavrovsky 2017-05-09 12:21:38 +02:00
parent b6e38488e8
commit f6d5fad12f

View file

@ -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>