{% comment %} Tabs. Parameters: label (names the tab list), tabs (list of {id, label, text} or {id, label, template}; a template is included as the panel's content). Without JS the links jump to each panel and all panels show; ui.js makes an ARIA tablist (arrow keys, Home, End) showing one panel at a time. {% endcomment %}
{% for tab in tabs %}

{{ tab.label }}

{% if tab.template %}{% include tab.template %}{% else %}

{{ tab.text }}

{% endif %}
{% endfor %}