templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.         <meta http-equiv="Cache-control" content="public">
  7.         {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  8.         {% block stylesheets %}
  9.             {{ encore_entry_link_tags('app') }}
  10.             <link rel="stylesheet" href="{{ asset('assets/cache/css_01_home.min.css') }}"/>
  11.         {% endblock %}
  12.         {% block javascripts %}
  13.             {{ encore_entry_script_tags('app') }}
  14.         {% endblock %}
  15.     </head>
  16.     <body>
  17.     {% block header %}
  18.         {% if app.request.attributes.get('_route') != 'index' %}
  19.             {% include 'includes/header.html.twig' %}
  20.         {% endif %}
  21.     {% endblock %}
  22.     {% block body %}
  23.     {% endblock %}
  24.     {% block footer %}
  25.         {% include 'includes/footer.html.twig' %}
  26.     {% endblock %}
  27.     <script src={{ asset('assets/cache/index.js') }}></script>
  28.     </body>
  29. </html>