templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale }}">
  3. <head>
  4.     {% block head %}
  5.         <meta charset="UTF-8" />
  6.         <meta name="viewport" content="width=device-width, initial-scale=1"/>
  7.         <base href="{{ path('home') }}">
  8.     {% endblock %}
  9.     {% block favicon %}
  10.         <link rel="apple-touch-icon" sizes="120x120" href="{{ asset('images/favicons/apple-touch-icon.png') }}">
  11.         <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('images/favicons/favicon-32x32.png') }}">
  12.         <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('images/favicons/favicon-16x16.png') }}">
  13.         <link rel="manifest" href="{{ asset('images/favicons/site.webmanifest') }}" crossorigin="use-credentials">
  14.         <link rel="mask-icon" href="{{ asset('images/favicons/safari-pinned-tab.svg') }}" color="#0097a7">
  15.         <link rel="shortcut icon" href="{{ asset('images/favicons/favicon.ico') }}">
  16.         <meta name="msapplication-TileColor" content="#0097a7">
  17.         <meta name="msapplication-config" content="{{ asset('images/favicons/browserconfig.xml') }}">
  18.         <meta name="theme-color" content="#0097a7">
  19.     {% endblock %}
  20.     <title>{% block title %}Accueil{% endblock %}</title>
  21.     {% if block('meta_description') is defined %}
  22.         <meta name="description" content="{{ block('meta_description') | escape }}"/>
  23.     {% endif %}
  24.     {% block stylesheets %}{% endblock %}
  25. </head>
  26. {% set body_id = block('body_id') %}
  27. {% set body_class = '' %}
  28. {% if block('body_class') is defined %}
  29.     {% set body_class = body_class ~ ' ' ~ block('body_class') %}
  30. {% endif %}
  31. <body{% if body_id %} id="{% block body_id %}{% endblock %}"{% endif %}{% if body_class %} class="{{ body_class|trim }}"{% endif %}>
  32. <div id="top"></div>
  33. {% block body %}{% endblock %}
  34. {{ include('partials/_javascript.html.twig') }}
  35. {% block modals %}{% endblock %}
  36. {% block javascripts %}{% endblock %}
  37. {% if currentPage is defined %}
  38.     <input type="hidden" name="currentPage" value="{{ currentPage }}" />
  39. {% endif %}
  40. </body>
  41. </html>