templates/SaloonList/list.html.twig line 38

Open in your IDE?
  1. {% extends 'ProfileList/grid.html.twig' %}
  2. {% set linkLangSupport = app.request.locale == 'en' ? '/en' : '' %}
  3. {%- block metaSpecial -%}
  4.     {%- if saloons and saloons.currentPage >= 2 -%}
  5.         <meta name="yandex" content="noindex, nofollow" />
  6.     {%- endif -%}
  7. {%- endblock -%}
  8. {%- block mainContainer -%}
  9.     {%- set isIndexPage = app.request.pathInfo == '/' -%}
  10.     {%- set firstPage = saloons.currentPage == 1 -%}
  11.     {%- set isShowTopSeo = true -%}
  12.     {%- set isShowBottomSeo = true -%}
  13.     {{- knp_menu_render('breadcrumbs', {'template': '__design/v2023/_menu/breadcrumbs.html.twig'}) -}}
  14.     <div class="heading d-flex">
  15.         <h1 class="heading-title text-title mr-1" role="heading">{{ seo_heading() ? seo_heading() : 'Интим салоны в ' ~ city.name|geo_name('предложный') }}</h1>
  16.         <span class="heading-count clr-main-text fw-700" data-count-profiles>{{ saloons.totalCount }}</span>
  17.     </div>
  18.     {%- block mainList -%}
  19.         <ul class="profile-list profile-list--saloon d-grid mb-4" id="profile-list">
  20.             {%- include 'SaloonList/list.saloons.html.twig' -%}
  21.         </ul>
  22.     {%- endblock -%}
  23.     {# {% include 'ShowMore/_show_more.saloons.html.twig' %} #}
  24.     {%- if saloons and saloons.totalCount > saloons.currentPage * saloons.currentLimit -%}
  25.         {%- block showMore -%}
  26.             {%- include 'SaloonList/_show_more.saloons.html.twig' -%}
  27.         {%- endblock showMore -%}
  28.     {%- endif -%}
  29.     {{- porpaginas_render(saloons) -}}
  30.     {# <div class="new-questionare">
  31.         {{ include('components/last_girl_list.html.twig') }}
  32.     </div> #}
  33.     {{- include('__design/v2023/components/seo-article.html.twig', { 'type': 'top', "noindex": true }) -}}
  34.     {{ include ('__design/v2023/components/seo-article.html.twig', { 'type': 'bottom', "noindex": true }) -}}
  35. {%- endblock -%}
  36. {% block javascripts %}
  37.     {{parent()}}
  38.     <script>
  39.         window._lD = {
  40.             setLastViewedListing: '{{ app.request.attributes.get('_route') }}',
  41.             cityUrl: "{{city.uriIdentity}}",
  42.         };
  43.     </script>
  44. {%- endblock -%}