{% if pageCount > 1 %}
<nav class="pagination">
{% if previous is defined %}
<a href="{{ path(route, query|merge({(pageParameterName): previous})) }}" class="prev" aria-label="Page précédente" rel="prev">
<svg aria-hidden="true" focusable="false" data-name="Calque 1" id="Calque_1"
viewBox="0 0 283.5 283.5" xmlns="http://www.w3.org/2000/svg">
<g data-name="Chevron horizontal" id="Chevron_horizontal">
<path class=""
d="M7.09,190.21l125.1-126.6a13.4,13.4,0,0,1,18.9-.2l.2.2,125.1,126.6a19.92,19.92,0,0,1,0,27.9,19.4,19.4,0,0,1-27.4.2l-.2-.2-107-108.3-107,108.3a19.4,19.4,0,0,1-27.4.2l-.2-.2a19.83,19.83,0,0,1-.1-27.9"
id="Chevron"></path>
</g>
</svg>
<span class="sr-only">Page précédente</span>
</a>
{% endif %}
<ul class="numbers">
{% for page in pagesInRange %}
{% if page != current %}
<li>
<a href="{{ path(route, query|merge({(pageParameterName): page})) }}"
aria-label="page {{ page}} sur {{ pageCount }}">
{{ page }}
</a>
</li>
{% else %}
<li class="active"><a aria-label="page {{ page}} sur {{ pageCount }}" aria-current="page">{{ page }}</a></li>
{% endif %}
{% endfor %}
</ul>
{% if next is defined %}
<a href="{{ path(route, query|merge({(pageParameterName): next})) }}" class="next" aria-label="Page suivante" rel="next">
<svg aria-hidden="true" focusable="false" data-name="Calque 1" viewBox="0 0 283.5 283.5"
xmlns="http://www.w3.org/2000/svg">
<g data-name="Chevron horizontal" id="Chevron_horizontal">
<path class=""
d="M7.09,190.21l125.1-126.6a13.4,13.4,0,0,1,18.9-.2l.2.2,125.1,126.6a19.92,19.92,0,0,1,0,27.9,19.4,19.4,0,0,1-27.4.2l-.2-.2-107-108.3-107,108.3a19.4,19.4,0,0,1-27.4.2l-.2-.2a19.83,19.83,0,0,1-.1-27.9"
id="Chevron"></path>
</g>
</svg>
<span class="sr-only">Page suivante</span>
</a>
{% endif %}
</nav>
{% endif %}