{%- extends "basic/layout.html" %}


{# Turn comma-separated list into proper list #}
{% if theme_left_buttons is string and theme_left_buttons %}
{% set theme_left_buttons = theme_left_buttons.split(',')|map('trim') %}
{% endif %}
{% if theme_right_buttons is string and theme_right_buttons %}
{% set theme_right_buttons = theme_right_buttons.split(',')|map('trim') %}
{% endif %}


{% macro stripsectionnumber(title) %}
{%- if title.startswith('<span class="section-number">') %}
{{- title.split('</span>', 1)|