{% extends '@Web/layout.html.twig' %}
{% block stylesheets %}
{{ parent() }}
<link rel="stylesheet" href="{{ asset('_css/catalog.min.css') }}"/>
{% endblock %}
{% block title %}
{{ meta.title | raw }}
{% endblock %}
{% block meta %}
{% if meta.description %}
<meta name="description" content="{{ meta.description | raw }}"/>
{% endif %}
{% if meta.keywords %}
<meta name="keywords" content="{{ meta.keywords | raw }}"/>
{% endif %}
{# добавил noindex - всегда не работает #}
{% if noindex is defined and noindex %}
{# <meta name="robots" content="noindex, nofollow"/> #}
{% endif %}
<meta name="Priority" content="2"/>
<meta property="og:type" content="website"/>
<meta property="og:title" content="{{ meta.title | raw }}"/>
<meta property="og:description" content="{{ meta.description | raw }}"/>
<meta property="og:locale" content="{{ te.locale.getCurLocaleISO() }}"/>
<meta property="og:url" content="{{ te.request.uri }}"/>
<meta property="og:image" content="https://tile.expert/img/histories/tile-catalogue.jpg"/>
<meta property="og:image:width" content="400"/>
<meta property="og:image:height" content="254"/>
<meta property="og:image:type" content="image/jpeg"/>
<meta property="og:site_name" content="Tile.Expert"/>
<meta name="locale" content="{{ te.locale.getCurLocaleISO() }}"/>
<!--<PageMap>
<DataObject type="thumbnail">
<Attribute name="src" value="https://tile.expert/img/histories/tile-catalogue.jpg"/>
<Attribute name="width" value="400"/>
<Attribute name="height" value="254"/>
</DataObject>
</PageMap>-->
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% if te.checkIsDev %}
<script src="{{ asset('_js/designer.js') }}"></script>
<script defer src="{{ asset('_js/catalog.js') }}"></script>
{% else %}
<script src="{{ asset('_js/designer.min.js') }}"></script>
<script defer src="{{ asset('_js/catalog.min.js') }}"></script>
{% endif %}
{% endblock %}
{% block content %}
<div style="position: absolute; top: -1000px;">
<div class="blue-point"></div>
<div class="small-timer"></div>
<div class="js-idea-add idea-add"></div>
</div>
<div class="progres-bar-outer">
<div class="progres-bar-inner"></div>
</div>
<div
id="search-content" class="clearfix body-content wrap-catalog with-short-filters"
data-action="{{ path('app_catalog') }}?as_json=1"
data-all="{{ 'all' | trans }}"
data-design="{{ 'designers' | trans }}"
data-subkey="{{ content.subkey }}"
data-url="{{ app.request.pathInfo }}"
data-gclid="{% if gclid | length > 0 %}{{ '?gclid='~gclid }}{% endif %}"
data-factory-review-url="{{ factoryReviewsUrl }}"
>
{% include '@Web/Catalog/search-content.html.twig' with { 'meta': meta, 'result': result, 'discount': discount} %}
</div>
{% endblock %}