{% set theme = theme|default(user.settings.theme|default(config('theme'))) %} {% block head %} {% block title %}{{ title }}{% endblock %} - {{ config('app_name') }} {% if page() in ['news', 'meetings'] and is_user() and has_permission_to('atom') -%} {% set parameters = {'key': user.api_key} -%} {% if page() == 'meetings' -%} {% set parameters = parameters|merge({'meetings': 1}) -%} {% endif %} {% endif %} {% endblock %} {% block body %} {% block header %} {% include "layouts/parts/navbar.twig" %} {% endblock %}
{% block content %} {{ content|raw }} {% endblock %}
{% block scripts %}{% endblock %} {% endblock %}