{% load i18n fairdm %} {% comment %} — the record's descriptions (abstract, methods, …). With more than one, the tabs take the card header's place and each tab's name is the heading. With one, its name is the card's title. With none, the card is titled "About" and shows the slot. Attributes: descriptions – [{label, value}], in the order the tabs appear group – a name for the tab set, unique on the page class – extra classes on the card Slots: (default) – what to show when there are no descriptions {% endcomment %} {% if descriptions|length > 1 %}
{% for description in descriptions %}
{{ description.value|safe_markdown }}
{% endfor %}
{% elif descriptions %}
{{ descriptions.0.value|safe_markdown }}
{% else %} {{ slot }} {% endif %}