stack/src/components/layout-base/layout-base.twig line 1

Open in your IDE?
  1. {% block before_html %}{% endblock %}
  2. <!DOCTYPE html>
  3. <html lang="cs">
  4.   <head>
  5.     <meta charset="UTF-8">
  6.     <meta name="author" content="Brilo - https://www.brilo.cz">
  7.     <meta name="robots" content="index, follow">
  8.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover">
  9.     <meta name="format-detection" content="telephone=no">
  10.     {% block meta %}{# metas #}{% endblock %}
  11.     <link rel="preconnect" href="https://fonts.googleapis.com">
  12.     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous">
  13.     <link rel="apple-touch-icon" sizes="180x180" href="{{ base_path }}images/favicon/apple-touch-icon.png">
  14.     <link rel="icon" type="image/png" sizes="32x32" href="{{ base_path }}images/favicon/favicon-32x32.png">
  15.     <link rel="icon" type="image/png" sizes="16x16" href="{{ base_path }}images/favicon/favicon-16x16.png">
  16.     <link rel="manifest" href="{{ base_path }}images/favicon/site.webmanifest" crossorigin="use-credentials">
  17.     <link rel="mask-icon" href="{{ base_path }}images/favicon/safari-pinned-tab.svg" color="#1d1d1b">
  18.     <meta name="msapplication-TileColor" content="#ffffff">
  19.     <meta name="theme-color" content="#ffffff">
  20.     <link rel="stylesheet" type="text/css" href="{{ base_path }}index.css">
  21.     {% block extra_styles %}{# extra styles #}{% endblock %}
  22.     <title>
  23.       {% block title %}{% endblock %}
  24.     </title>
  25.   </head>
  26.   <body>
  27.     {% block header %}
  28.       {% if main_header %}
  29.         {% include "@Components/main-header/main-header.twig" with {props: main_header} %}
  30.       {% endif %}
  31.     {% endblock %}
  32.     {% if alerts %}
  33.       {% include "@Components/groups/alerts-group/alerts-group.twig" with {props: alerts} %}
  34.     {% endif %}
  35.     <main>
  36.       {% block main %}{% endblock %}
  37.       {% block content %}{% endblock %}
  38.     </main>
  39.     {% include "@Components/scroll-up/scroll-up.twig" %}
  40.     {% block footer %}
  41.       {% if main_footer %}
  42.         {% include "@Components/main-footer/main-footer.twig" with {props: main_footer} %}
  43.       {% endif %}
  44.     {% endblock %}
  45.     {% include "@Components/overlay/overlay.twig" with {props: {
  46.       extra_class: "c-overlay-main --js-main-search-closer",
  47.     }} %}
  48.     {% block extra_scripts %}{% endblock %}
  49.     <script src="{{ base_path }}index.js"></script>
  50.     {% if _schema %}
  51.       {{ _schema|raw }}
  52.     {% endif %}
  53.   </body>
  54. </html>