{# output a featured image #} {% macro fi(pic, link='', alt='', title='', credit='', credit_link='') %} {% endmacro %} {# output a card image #} {% macro ci(pic, link='', alt='', title='', credit='', credit_link='') %}
{% if link %}{% endif %}{% if link %}{% endif %} {% if credit %}
{% if credit_link %}{% endif %}{{ credit }}{% if credit_link %}{% endif %}
{% endif %}
{% endmacro %} {# split long string (e.g. Klappentext) into paragraphs and output them as

elements #} {% macro kt(text) %} {% for k in text.strip().split("\n\n") | list %}

{{ k }}

{% endfor %} {% endmacro %}