<!DOCTYPE html>
<html lang="{{ app.request.locale }}">
{% set city = app.request.attributes.get('city', default_city()) %}
{% set metro = app.request.attributes.get('station') ? app.request.attributes.get('station').name|trans : 'Метро' %}
{% set accountUrl = is_user_advertiser(app.user) ? path('account') : path('account.favourites.profiles') %}
{% set months = {
"January": "Январь",
"February": "Февраль",
"March": "Март",
"April": "Апрель",
"May": "Май",
"June": "Июнь",
"July": "Июль",
"August": "Август",
"September": "Сентябрь",
"October": "Октябрь",
"November": "Ноябрь",
"December": "Декабрь"
} %}
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta content="" name="author"/>
<meta name="HandheldFriendly" content="true"/>
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
<title>{% apply spaceless %}{%- block title -%}{% endblock %}{% endapply %}</title>
{% block metaDescription %}
<meta name="description" content="{{ seo_description() }}">
{% endblock %}
{% block metaKeywords %}{% endblock %}
{% block metaRobots %}{% endblock %}
{% block stylesheet %}
{{ encore_entry_link_tags("styles/main-public", null, 'basicConfig') }}
{% endblock %}
<link rel="shortcut icon" href="{{ asset('assets/images/favicon/favicon.ico','basicConfig') }}">
<link rel="apple-touch-icon" sizes="180x180"
href="{{ asset('assets/images/favicon/apple-touch-icon.png','basicConfig') }}">
<link rel="icon" type="image/png" sizes="32x32"
href="{{ asset('assets/images/favicon/favicon-32x32.png','basicConfig') }}">
<link rel="icon" type="image/png" sizes="16x16"
href="{{ asset('assets/images/favicon/favicon-16x16.png','basicConfig') }}">
<meta name="msapplication-TileColor" content="#897956">
<meta name="theme-color" content="#897956">
<meta name="apple-mobile-web-app-title" content="Dosug 7/24"/>
<meta name="application-name" content="Dosug 7/24"/>
{% block preconnect %}
{%- if responsive_media_base_url is defined -%}
<link rel="preconnect" href="{{ responsive_media_base_url|replace({'responsive': 'assets'}) }}" />
<link rel="preconnect" href="{{ responsive_media_base_url }}" />
{%- endif -%}
<link rel="preconnect" href="https://mc.yandex.ru">
<link rel="preconnect" href="https://www.googletagmanager.com">
{% endblock %}
{% block canonical %}<link rel="canonical" href="{{ canonical_url() }}">{% endblock %}
{% if ym_tracker_id %}
<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter{{ ym_tracker_id }} = new Ya.Metrika({
id:{{ ym_tracker_id }},
clickmap:true,
trackLinks:true,
accurateTrackBounce:true
});
} catch(e) { }
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = "https://mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/{{ ym_tracker_id }}" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
{% endif %}
</head>
{% set linkLangSupport = app.request.locale == 'en' ? '/en' : '' %}
<body data-lang="{{ app.request.locale }}" data-page="{% block name_page %}index{% endblock %}"
data-site="spb"{% if is_granted('ROLE_USER') %} data-login="true"{% endif %}
{% block account_page %}data-account="false"{% endblock %}
class="{% block bodyClasses %}{% endblock %}">
<div class="wrapper{% block wrapper_class %}{% endblock %}">
{% block modals %}
{% include 'components/modals.html.twig' %}
{% endblock %}
{% block header %}
{% include 'components/header.html.twig' %}
{% endblock %}
{% block grid %}{% endblock %}
{% block footer %}
{% include 'components/footer.html.twig' %}
{% endblock %}
</div>
{% block javascripts %}
{{ encore_entry_script_tags('scripts/bootstrap_theme', null, 'basicConfig') }}
{{ encore_entry_script_tags('scripts/new_ui', null, 'basicConfig') }}
{{ encore_entry_script_tags('scripts/index', null, 'basicConfig') }}
{% include 'components/profile_ctr.js.twig' %}
{% endblock %}
</body>
</html>