{# 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 body %} {{ widgets('main_top') }} {% block main %} {% endblock main %} {{ widgets('main_bottom') }} {% endblock body %} {{ include('partials/_footer.twig') }}