Much longer "full" version of trimmed text
This commit is contained in:
parent
978760475f
commit
07dbc4c6c0
@ -5,7 +5,7 @@
|
|||||||
{% with 0|uuid as uuid %}
|
{% with 0|uuid as uuid %}
|
||||||
{% if full %}
|
{% if full %}
|
||||||
{% with full|to_markdown|safe as full %}
|
{% with full|to_markdown|safe as full %}
|
||||||
{% with full|to_markdown|safe|truncatewords_html:60 as trimmed %}
|
{% with full|to_markdown|safe|truncatewords_html:150 as trimmed %}
|
||||||
{% if not no_trim and trimmed != full %}
|
{% if not no_trim and trimmed != full %}
|
||||||
<div id="hide-full-{{ uuid }}">
|
<div id="hide-full-{{ uuid }}">
|
||||||
<div class="content" id="trimmed-{{ uuid }}">
|
<div class="content" id="trimmed-{{ uuid }}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user