{#
Knp\Component\Pager\Paginator
Ref/Doc: https://pimcore.com/docs/pimcore/current/Development_Documentation/Objects/Working_with_PHP_API.html#page_Working-with-Knp-Component-Pager-Paginator
#}
<div>
<ul class="uk-pagination uk-flex-center">
{% for page in paginationVariables.pagesInRange %}
{% if (paginationVariables.current == page) %}
<li class="page-item uk-active" aria-current="page">
<span class="page-link">
{{ page }}
<span class="sr-only">(current)</span>
</span>
</li>
{% else %}
<li class="page-item"><a class="page-link" href="{{ pimcore_url({'page': page}) }}">{{ page }}</a></li>
{% endif %}
{% endfor %}
</ul>
</div>