templates/layouts/layouts_front/base_front.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale }}">
  3. <head>
  4.     <title>{% block title %}{{ titleSite }}{% endblock %}</title>
  5.     {# ------------------------- #}
  6.     {# -- METAS -- #}
  7.     {# ------------------------- #}
  8.     {% set mediaDefaultOg = 'siteImg.jpg' %}
  9.     {% set overridetTitleOg %}
  10.         {% block titleOg %}{% endblock %}
  11.     {% endset %}
  12.     {% set overrideMetaDescriptionOg %}
  13.         {% block metaDescriptionOg %}{% endblock %}
  14.     {% endset %}
  15.     {# open graph #}
  16.     {% embed 'layouts/layouts_front/common/meta/meta_og.html.twig' %}
  17.         {% block titleOg %}
  18.             {{ overridetTitleOg }}
  19.         {% endblock %}
  20.         {% block metaDescriptionOg %}
  21.             {{ overrideMetaDescriptionOg }}
  22.         {% endblock %}
  23.     {% endembed %}
  24.     {# twitter #}
  25.     {% embed 'layouts/layouts_front/common/meta/meta_twitter.html.twig' %}
  26.         {% block titleOg %}
  27.             {{ overridetTitleOg }}
  28.         {% endblock %}
  29.         {% block metaDescriptionOg %}
  30.             {{ overrideMetaDescriptionOg }}
  31.         {% endblock %}
  32.     {% endembed %}
  33.     {# others #}
  34.     {% set overrideDesindex %}
  35.         {% block desindex %}{% endblock %}
  36.     {% endset %}
  37.     {% set overrideMetaDesc %}
  38.         {% block metaDescription %}{% endblock %}
  39.     {% endset %}
  40.     {% set overrideKeywords %}
  41.         {% block keywords %}{% endblock %}
  42.     {% endset %}
  43.     {% embed 'layouts/layouts_front/common/meta/meta_other.html.twig' %}
  44.         {% block desindex %}
  45.             {{ overrideDesindex }}
  46.         {% endblock %}
  47.         {% block metaDescription %}
  48.             {{ overrideMetaDesc }}
  49.         {% endblock %}
  50.         {% block keywords %}
  51.             {{ overrideKeywords }}
  52.         {% endblock %}
  53.     {% endembed %}
  54.     {#    {{ encore_entry_link_tags('app_front') }} #}
  55.     {#    {{ encore_entry_script_tags('app_front') }} #}
  56.     {# ------------------------- #}
  57.     {# -- LINKS -- #}
  58.     {# ------------------------- #}
  59.     {# canonical #}
  60.     {% include 'layouts/layouts_front/common/link/canonical.html.twig' %}
  61.     {# fonts #}
  62.     {% include 'layouts/layouts_front/common/link/fonts.html.twig' %}
  63.     {# favicon - icons #}
  64.     {% include 'layouts/layouts_front/common/link/icons.html.twig' %}
  65.     {# imports CSS #}
  66.     {% include 'layouts/layouts_front/common/link/imports_CSS.html.twig' %}
  67.     {# custom CSS #}
  68.     {% block stylesheets %}{% endblock %}
  69.     {# ------------------------- #}
  70.     {# -- SCRIPTS JS -- #}
  71.     {# ------------------------- #}
  72.     {# Google Tag Manager HEAD #}
  73.     {% include 'layouts/layouts_front/common/script/google_tag_manager_head.html.twig' %}
  74.     {# imports SCRIPTS #}
  75.     {% include 'layouts/layouts_front/common/script/imports_scripts_top.html.twig' %}
  76.     {# custom #}
  77.     {% embed 'layouts/layouts_front/common/script/custom_scripts_top.html.twig' %}
  78.         {% block metaDescription %}
  79.             {{ overrideMetaDesc }}
  80.         {% endblock %}
  81.     {% endembed %}
  82. </head>
  83. <body>
  84. {% if api_error %}
  85.     ERROR API
  86. {% endif %}
  87. {# Google Tag Manager BODY #}
  88. {% include 'layouts/layouts_front/common/script/google_tag_manager_body.html.twig' %}
  89. {# ------------------------- #}
  90. {# -- CONTENT -- #}
  91. {# ------------------------- #}
  92. {% include('loader/loader.html.twig') %}
  93. <div id="flashMessageAjax">
  94.     {{ include('layouts/layouts_front/flash_message.html.twig') }}
  95. </div>
  96. <header>
  97.     {% include 'layouts/layouts_front/nav_menu.html.twig' %}
  98. </header>
  99. {% if isEcommerce == 1 %}
  100.     <div id="basketPanel" class="">
  101.         {{ include('layouts/layouts_front/tpl_basket_panel.html.twig') }}
  102.     </div>
  103. {% endif %}
  104. <div id="popupFront" class="aff visible"
  105.      {% if popupMessage is defined and popupMessage is not null %}{% else %}style="display:none;"{% endif %}>
  106.     <div class="d-flex flex-column justify-content-center">
  107.         {{ include('layouts/layouts_front/tpl_popup.html.twig') }}
  108.     </div>
  109. </div>
  110. {% block content %}{% endblock %}
  111. {% include 'layouts/layouts_front/nav_footer.html.twig' %}
  112. {# <div id="scrollToTop" class="scrollToTop mbr-arrow-up"> #}
  113. {#    <a style="text-align: center;"> #}
  114. {#        <i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"> #}
  115. {#        </i> #}
  116. {#    </a> #}
  117. {# </div> #}
  118. <input name="animation" type="hidden">
  119. {# ------------------------- #}
  120. {# -- SCRIPTS JS BOTTOM -- #}
  121. {# ------------------------- #}
  122. {# imports SCRIPTS #}
  123. {% include 'layouts/layouts_front/common/script/imports_scripts_bottom.html.twig' %}
  124. {# custom #}
  125. {% include 'layouts/layouts_front/common/script/custom_scripts_bottom.html.twig' %}
  126. {% block javascripts %}{% endblock %}
  127. </body>
  128. </html>