<!doctype html>
<html lang="ru">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0">

    <title>{{ title }}</title>
    <meta name="description" content="{{ description }}">
    <meta name="gtm_name" content="{{ gtm_name }}">
    <meta name="cdn" content="./">
    <meta name="img_src" content="./img/bg/">

    <link rel="shortcut icon" type="image/x-icon" href="https://{{ cdn }}/lands/images/favicons-en/favicon.ico">

    <link rel="icon" type="image/png" sizes="16x16" href="https://{{ cdn }}/lands/images/favicons-en/favicon-16x16.png">
    <link rel="icon" type="image/png" sizes="32x32" href="https://{{ cdn }}/lands/images/favicons-en/favicon-32x32.png">
    <meta name="theme-color" content="{{ theme_color }}">
    <meta name="mobile-web-app-capable" content="yes">
    <link rel="icon" type="image/png" sizes="192x192" href="https://{{ cdn }}/lands/images/favicons-en/android-chrome-192x192.png">
    <link rel="manifest" href="https://{{ cdn }}/lands/images/favicons-en/manifest.json">

    <meta name="apple-mobile-web-app-title" content="{{ app_title }}">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <link rel="apple-touch-icon" href="https://{{ cdn }}/lands/images/favicons-en/apple-touch-icon.png">

    <meta name="application-name" content="{{ app_title }}">
    <meta name="msapplication-navbutton-color" content="#db2532">
    <meta name="msapplication-TileColor" content="#2b5797">
    <meta name="msapplication-TileImage" content="https://{{ cdn }}/lands/images/favicons-en/mstile-150x150.png">
    <meta name="msapplication-config" content="https://{{ cdn }}/lands/images/favicons-en/browserconfig.xml">

    <link rel="mask-icon" type="image/png" href="https://{{ cdn }}/lands/images/favicons-en/safari-pinned-tab.svg" color="#db2532">


    <link rel="stylesheet" type="text/css" href="https://{{ cdn }}/lands/styles/fonts.css">
    <link rel="stylesheet" type="text/css" href="https://{{ cdn }}/lucid/styles/lucid.css">
    <link rel="stylesheet" type="text/css" href="https://{{ cdn }}/lands/styles/markdown.css">
{#    <link rel="stylesheet" type="text/css" href="https://{{ cdn }}/lucid/styles/ie10flex.css">#}


    {% if {{ re_captcha }} %}
        <!--<script src="https://www.google.com/recaptcha/api.js?render={{ re_captcha }}"></script>-->
    {% endif %}
    <script src="https://{{ cdn }}/lands/scripts/marked.min.js"></script>
    <script src="https://{{ cdn }}/lands/scripts/jquery.min.js"></script>
    {#<script src="https://{{ cdn }}/lands/scripts/jquery.cookie.js"></script>#}
{#    <script src="https://{{ cdn }}/lands/scripts/jquery.form.min.js"></script>#}
    <script src="https://{{ cdn }}/lands/scripts/jquery.mask.min.js"></script>
{#    <script src="https://{{ cdn }}/lands/scripts/owl.carousel.min.js"></script>#}
    <script src="https://{{ cdn }}/lands/scripts/utm.js"></script>
    {% if show_qr == 'true' %}
        <script src="https://{{ cdn }}/lands/scripts/qrcode.min.js"></script>
    {% endif %}

    {#    <script src="https://text.ajaxfeed.com/texts/line.js"></script>#}

    <!-- Google Tag Manager -->
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
                new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
            j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
            'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
        })(window,document,'script','dataLayer','GTM-M35HZTK6');</script>
    <!-- End Google Tag Manager -->

    <!-- Yandex.Metrika counter -->
    <script type="text/javascript" > (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date(); for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); ym(40810904, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true, trackHash:true }); </script>
    <!-- /Yandex.Metrika counter -->

    <!-- -->
    <link rel="stylesheet" href="./css/foundation-lib.css?v={{ version }}">
    <link rel="stylesheet" href="./css/style.css?v={{ version }}">
    <script type="text/javascript" src="./js/app.js?v={{ version }}"></script>
    <script type="text/javascript" src="./js/auth.js?v={{ version }}"></script>
    <script type="text/javascript" src="./js/script.js?v={{ version }}"></script>

    {% block extraJS %}
    {% endblock %}

    {% block preload %}
    {% endblock %}

</head>
{% block bodyBegin %}
<body class="{{ body_class }} {% if theme%}theme-{{ theme }} {% endif %}{% if landing%}landing-{{ landing }}{% endif %}{% if class %} {{ class }}{% endif %}">
{% endblock %}

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M35HZTK6"
                  height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

{% block modal %}
    {% include 'layouts/_modal.twig' %}
{% endblock %}

<div class="l-wrapper">

    {% block header %}
        {% include "layouts/_header.twig" %}
    {% endblock %}


    <main class="l-main" id="main">
        {% block content %}{% endblock %}
    </main>

    {% block footer %}
        {% include "layouts/_footer.twig" %}
    {% endblock %}

</div>

{% block extraJsLib %}{% endblock %}

</body>
</html>
