templates/base.html.twig line 1

Open in your IDE?
  1. {% set previous = app.request.server.get("HTTP_REFERER") %}
  2. <!DOCTYPE html>
  3. <html>
  4.     <head>
  5.         <meta charset="UTF-8">
  6.         <title>{% block title %} | Lotica{% endblock %}</title>
  7.         <link rel="icon" href="{{ asset('favicon.ico') }}">
  8.         {# BOOTSTRAP #}
  9.         <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
  10.         <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css">
  11.         {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  12.         {% block stylesheets %}
  13.             {{ encore_entry_link_tags('app') }}
  14.         {% endblock %}
  15.         {# CSS #}
  16.         <link rel="stylesheet" href="{{ asset('assets/css/utils.css') }}">
  17.         <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  18.         {# JS #}
  19.         <script type="module" src="{{ asset('assets/js/app.js') }}" defer></script>
  20.         
  21.     </head>
  22.     <body>
  23.         <div id="global" class="d-flex flex-column justify-content-between">
  24.             {# HEADER #}
  25.             <header>
  26.                 {% include "components/header.html.twig" %}
  27.             </header>
  28.             {# main #}
  29.             <main id="main">
  30.                 {% include "components/partials/_flashcontainer.html.twig" %}
  31.                 {% block body %}{% endblock %}
  32.             </main>
  33.             {# FOOTER #}
  34.             <br>
  35.             <footer>
  36.                 {% include "components/footer.html.twig" %}
  37.             </footer>
  38.         </div>
  39.         {% block javascripts %}
  40.             {{ encore_entry_script_tags('app') }}
  41.         {% endblock %}
  42.     </body>
  43. </html>