{{ 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 %}{{ page.title }}{% endif %}
{{ pageFavicon() }} {% filter page_html_content(page, '@head:seo_meta_tags') %} {% autoescape false %} {{ page.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_analytics_id %} {% endif %} {% if website.yandex_metrica_counter.id %}
{% endif %} {% endif %} {{ renderHook('website.head.bottom') }} {{ renderHook('head.bottom') }} {{ page.getCodeInjection('header') | raw }} {{ renderHook('body.top') }} {{ renderHook('website.body.top') }} {% filter page_html_content(currentPage, '@body:content') %} {% block content %}{% endblock %} {% endfilter %} {% if (website.back_to_top_button and features.theme_back_to_top_button) %}
{% endif %} {% block js %} {% if isPreview %} {% endif %} {% endblock %} {{ renderHook('website.body.bottom') }} {{ renderHook('body.bottom') }} {{ page.getCodeInjection('footer') | raw }}