{% import "macros/helper.html.twig" as ContentHelper %} {{ renderHook('head.top') }} {{ renderHook('website.head.top') }} {% block head %} {% if WEBSITE.title_format %}{% filter page_html_content(page, '@head:title') %}{% include template_from_string(WEBSITE.title_format) %}{% endfilter %}{% else %}{{ currentPage.title }}{% endif %} {{ pageFavicon() }} {% filter page_html_content(page, '@head:seo_meta_tags') %} {% autoescape false %} {{ currentPage.getSeoHtml() }} {% endautoescape %} {% endfilter %} {% if WEBSITE.google_webmaster_tools_tag %} {% endif %} {% if WEBSITE.yandex_webmaster_code %} {% endif %} {% endblock %} {% block css %} {% if isPreview %} {% endif %} {% endblock %} {% if not isPreview %} {% if WEBSITE.google_tag_manager.id %} {% endif %} {% if WEBSITE.google_analytics.id %} {% endif %} {% if WEBSITE.facebook_pixel.id %} {% endif %} {% if WEBSITE.yandex_metrica_counter.id %} {% endif %} {% endif %} {{ renderHook('website.head.bottom') }} {{ renderHook('head.bottom') }} {{ currentPage.getCodeInjection('header') | raw }} {% if WEBSITE.google_tag_manager.id %} {% endif %} {{ renderHook('body.top') }} {{ renderHook('website.body.top') }} {% filter page_html_content(currentPage, '@body:content') %} {% block content %}{% endblock %} {% endfilter %} {% if WEBSITE.back_to_top_button %} {% include '@websiteWidgets/back_to_top/templates/base.html.twig' %} {% endif %} {% if MotoCallback and MotoCallback.isAllowOnPage(currentPage) or isPreview %} {% include '@websiteWidgets/moto_callback/templates/base.html.twig' %} {% endif %} {% if WEBSITE.cookie_notification.enabled or isPreview %} {% endif %} {% block js %} {% if GOOGLE_MAP_API_KEY %} {% endif %} {% if isPreview %}
{% endif %} {% endblock %} {{ renderHook('website.body.bottom') }} {{ renderHook('body.bottom') }} {{ currentPage.getCodeInjection('footer') | raw }}