{% set css = 'dflex fwwrap jcc visible' %}
{% if structure is defined and (structure == 'fiches_territoires' or structure == 'experiences') %}
{% set css = '' %}
{% endif %}
{% if structure == 'fiches_territoires' or structure == 'experiences' %}
<div class="map-articles-previews-header">
{% if structure == 'fiches_territoires' %}
Listes des territoires
{% else %}
Listes des expériences
{% endif %}
</div>
{% endif %}
<div class="{{ css }}">
{% for i, hit in hits %}
{% set gt_first = "off" %}
{% if loop.first %}
{% set gt_first = "on" %}
{% endif %}
{% include "api/blocks/api_search_render.html.twig" with {id: hit.id, gt_first: gt_first} %}
{% endfor %}
</div>
{% include "blocks/sub-blocks/pagination.html.twig" %}