templates/layout.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.         
  9.         {# BOOTSTRAP #}
  10.         <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
  11.         <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css">
  12.         
  13.         {# GOOGLE FONTS #}
  14.         <link rel="preconnect" href="https://fonts.googleapis.com">
  15.         <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  16.         <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
  17.         <!-- FontAwesome -->
  18.         <script src="https://kit.fontawesome.com/24f93fa660.js" crossorigin="anonymous"></script>
  19.         {# CSS #}
  20.         <link rel="stylesheet" href="{{ asset('assets/css/utils.css') }}">
  21.         <link rel="stylesheet" href="{{ asset('assets/css/main.css') }}">
  22.         <link rel="stylesheet" href="{{ asset('assets/css/layout.css') }}">
  23.         
  24.         {% block stylesheets %}
  25.             {{ encore_entry_link_tags('app') }}
  26.         {% endblock %}
  27.         {# JS #}
  28.        
  29.         <script type="module" src="{{ asset('assets/js/app.js') }}" defer></script>
  30.     </head>
  31.     <body>
  32.         <div id="app">
  33.             {# HEADER #}
  34.             <header>{% include "components/header.html.twig" %}</header>
  35.             {# MAIN #}
  36.             <main>{% block body %}{% endblock %}</main>
  37.             {# FOOTER #}
  38.             <footer>{% include "components/footer.html.twig" %}</footer>
  39.         </div>
  40.         <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>
  41.         {% block javascripts %}
  42.             {{ encore_entry_script_tags('app') }}
  43.         {% endblock %}
  44.          
  45.     </body>
  46. </html>