{% extends '@SyliusUi/Macro/pagination.html.twig' %}

{% macro simple_shop(paginator, options) %}
    {% if paginator.haveToPaginate() %}
        {% set options = options|merge({
            'proximity': 3,
            'prev_message': '‹',
            'next_message': '›'
        }) %}
        <nav class="pagination-wrapper pagination-box">
            {{ pagerfanta(paginator, 'twitter_bootstrap4', options|default({})) }}
        </nav>
    {% endif %}
{% endmacro %}
