Revision db90a733
b/cloudcmsblog/templates/cloudcmsblog/archive.html | ||
---|---|---|
15 | 15 |
{% endif %} |
16 | 16 |
{% if entry.intro_text %} |
17 | 17 |
<div class="intro-content"> |
18 |
{{ entry.intro_text|safe }} |
|
18 |
{{ entry.intro_text|safe|truncatewords:100 }} |
|
19 |
{% if entry.intro_text|safe|wordcount > 100 %} |
|
20 |
<a href="{{ entry.get_absolute_url }}">{% trans "read more" %}</a> |
|
21 |
{% endif %} |
|
19 | 22 |
</div> |
20 | 23 |
{% endif %} |
21 | 24 |
<div class="entry-info"> |
Also available in: Unified diff