templates/frontend/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale|split('_')[0] }}">
  3. <head>
  4.     <meta charset="utf-8">
  5.     <title>{% block metaTitle %}{{ pageTitle()|trans }} | Astralpool{% endblock %}</title>
  6.     <meta name="description" content="{% block metaDescription %}La piscina a 360°. Tutto per piscine pubbliche, private, spa e wellness, parchi acquatici, fontane, centri benessere.{% endblock %}">
  7.     <meta name="keywords" content="">
  8.     <meta name="author" content="One AM">
  9.     <meta name="content-language" content="it" />
  10.     <meta name="format-detection" content="telephone=no">
  11.     {% block metaTags %}{% endblock %}
  12.     <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  13.     <link rel="apple-touch-icon" sizes="180x180" href="{{ asset('media/icon-primary.png') }}">
  14.     <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('media/icon-primary.png') }}">
  15.     <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('media/icon-primary.png') }}">
  16.     <meta property="og:image" content="{{ asset('media/icon-primary.png') }}" />
  17.     <link rel="mask-icon" color="#276EF1" href="{{ asset('media/icon-primary.png') }}">
  18.     <meta name="msapplication-TileColor" content="276EF1">
  19.     <meta name="theme-color" content="#fff" id="theme-color">
  20.     <link rel="preconnect" href="https://fonts.googleapis.com">
  21.     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  22.     <link href="https://fonts.googleapis.com/css2?family=News+Cycle:wght@700&display=swap" rel="stylesheet">
  23.     {{ encore_entry_link_tags('frontend_base') }}
  24.     {{ render_cookie_head() }}
  25.     {% block stylesheets %}{% endblock %}
  26. </head>
  27. <body {% block bodyAttributes %}style="margin-top: 85px"{% endblock %}>
  28. {{ render_cookie_body() }}
  29. {% block header %}
  30.     {% include 'frontend/partials/_header.html.twig' %}
  31. {% endblock %}
  32. {% block body %}{% endblock %}
  33. {% block footer %}
  34.     {% include 'frontend/partials/_footer.html.twig' %}
  35. {% endblock %}
  36. {% include 'frontend/partials/menu/_products.html.twig' %}
  37. {% include 'frontend/partials/menu/_components.html.twig' %}
  38. {% include 'frontend/partials/menu/_mobile.html.twig' %}
  39. <div id="website-config" data-is-homepage="{{ app.request.get('_route') == 'frontend_index' ? 'true' : 'false' }}"></div>
  40. <script>
  41.     window.googleMapsApiKey = '{{ google_maps_client_api_key }}'
  42. </script>
  43. {{ encore_entry_script_tags('frontend_base') }}
  44. <script src="{{ url('bazinga_jstranslation_js') }}"></script>
  45. {% block javascripts %}
  46. {% endblock %}
  47. {{ include('_includes/modal.bs5.html.twig') }}
  48. <script src="{{ asset('bundles/cookies/cookies.bs5.js') }}"></script>
  49. </body>
  50. </html>