{% set bestHotelsCount = 0 %}
{% for bestHotel in page.bestHotels %}
{% set bestHotelsCount = bestHotelsCount + bestHotel|length %}
{% endfor %}
{% if bestHotelsCount > 0 %}
<div id="best"></div>
<div class="container">
<div class="container__header">
<h3 class="container__header-title" data-anchor="best">
{{ 'Лучшие отели'|trans }} {{ page.info.nameRd }}
</h3>
</div>
{% if page.bestHotels.5 is defined %}
{% include 'geo/parts/tour.html.twig' with {'items': page.bestHotels.5} %}
{% endif %}
{% if page.bestHotels.4 is defined %}
{% include 'geo/parts/tour.html.twig' with {'items': page.bestHotels.4} %}
{% endif %}
{% if page.bestHotels.3 is defined %}
{% include 'geo/parts/tour.html.twig' with {'items': page.bestHotels.3} %}
{% endif %}
{% if page.bestHotels.2 is defined %}
{% include 'geo/parts/tour.html.twig' with {'items': page.bestHotels.2} %}
{% endif %}
{% if page.bestHotels.1 is defined %}
{% include 'geo/parts/tour.html.twig' with {'items': page.bestHotels.1} %}
{% endif %}
</div>
{% endif %}