{% set main_width = theme.layout.main_width|default(8) %} {% set aside_width = theme.layout.aside_width|default(4) %} {# make sure we always display a proper title: The record's title if there is one, appended with the sitename. If there is no title, we append the sitename with the payoff, if there is one. #} {%- if record.title is defined %}{{ record.title|striptags }} | {% endif -%} {{ config.get('general/sitename') -}} {% if record.title is not defined and config.get('general/payoff') %} | {{ config.get('general/payoff') }}{% endif -%} {% block headincludes %} {% endblock headincludes %} {% block body %} {% if theme.layout.variant != 'wide' %}
{% endif %} {{ include('partials/_topbar.twig') }} {{ include('partials/_header.twig') }} {% if theme.layout.variant != 'wide' %}
{% endif %}
{% if theme.layout.aside == "left" %} {{ include('partials/_aside.twig') }} {% endif %}
{{ widgets('main_top') }} {% block main %} {% endblock main %} {{ widgets('main_bottom') }}
{% if theme.layout.aside == "right" %} {{ include('partials/_aside.twig') }} {% endif %}
{% endblock body %} {{ include('partials/_footer.twig') }} {% block bottomincludes %} {% endblock bottomincludes %}