{# * Copyright (C) 2014-2015, Champs Libres Cooperative SCRLFS, / * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . #} {# The basic layout of Chill. All the page / template of Chill must use this template. #} {{ installation.name }} - {% block title %}{% endblock %} {# #} {% if active_bootstrap == 1 %} {{ encore_entry_link_tags('bootstrap') }} {% endif %} {% if active_forkawesome == 1 %} {{ encore_entry_link_tags('forkawesome') }} {% endif %} {% if active_ckeditor == 1 %} {{ encore_entry_link_tags('ckeditor5') }} {% endif %} {% block css%}{% endblock %}
{% block top_banner %}{# To use if you want to add a banner below the header (ie the menu) #}{% endblock %}
{% block sublayout_containter %}
{# Flash messages ! #} {% for flashMessage in app.session.flashbag.get('success') %}
{{ flashMessage|raw }}
{% endfor %} {% for flashMessage in app.session.flashbag.get('error') %}
{{ flashMessage|raw }}
{% endfor %} {% for flashMessage in app.session.flashbag.get('notice') %}
{{ flashMessage|raw }}
{% endfor %} {% block content %}

{{ 'Search'|trans }}

{{ chill_widget('homepage', {} ) }} {% endblock %}
{% endblock %}
{{ include('@ChillMain/Layout/_footer.html.twig') }} {{ encore_entry_script_tags('scratch') }} {{ encore_entry_script_tags('chill') }} {% if active_bootstrap == 1 %} {{ encore_entry_script_tags('bootstrap') }} {% endif %} {% if active_forkawesome == 1 %} {{ encore_entry_script_tags('forkawesome') }} {% endif %} {% if active_ckeditor == 1 %} {{ encore_entry_script_tags('ckeditor5') }} {% endif %} {% block js%}{% endblock %}