Use trimmedwords_html instead of a custom filter

This commit is contained in:
Mouse Reeve
2020-12-12 19:34:33 -08:00
parent 1e08eeb4c2
commit b61a7cccff
3 changed files with 211 additions and 17 deletions

View File

@ -2,7 +2,7 @@
{% with 0|uuid as uuid %}
{% if full %}
{% with full|text_overflow as trimmed %}
{% with full|truncatewords_html:60 as trimmed %}
{% if trimmed != full %}
<div>
<input type="radio" name="show-hide-{{ uuid }}" id="show-{{ uuid }}" class="toggle-control" checked>