{% load bookwyrm_tags %} {% with 0|uuid as uuid %} {% if full %} {% with full|to_markdown|safe|truncatewords_html:60 as trimmed %} {% if trimmed != full %}
{{ trimmed }} {% include 'snippets/toggle/open_button.html' with text="show more" controls_text="full" controls_uid=uuid class="is-small" %}
{{ full | to_markdown | safe }} {% include 'snippets/toggle/close_button.html' with text="show less" controls_text="full" controls_uid=uuid class="is-small" %}
{{ full | to_markdown | safe }}{% endif %} {% endwith %} {% endif %} {% endwith %}