{# This is the base template used as the application layout which contains the common elements and decorates all the other templates. See https://symfony.com/doc/current/templates.html#template-inheritance-and-layouts #} {% block title %}Symfony Demo application{% endblock %} {# Those two blocks defines frontend entrypoint for CSS and JavaScript assets See https://symfony.com/doc/current/frontend.html #} {% block stylesheets %} {{ encore_entry_link_tags('app') }} {% endblock %} {% block javascripts %} {{ encore_entry_script_tags('app') }} {% endblock %} {% block header %} {% set _route = app.request.get('_route') %}
{% endblock %}
{% block body %}
{{ include('default/_flash_messages.html.twig') }} {% block main %}{% endblock %}
{% endblock %}
{% block footer %} {% endblock %} {# it's not mandatory to set the timezone in localizeddate(). This is done to avoid errors when the 'intl' PHP extension is not available and the application is forced to use the limited "intl polyfill", which only supports UTC and GMT #}