{%- extends '@Pagerfanta/default.html.twig' -%}

{%- block pager_widget -%}
    <nav aria-label="Pagination"><ul class="pagination">
        {{- block('pager') -}}
    </ul></nav>
{%- endblock pager_widget -%}

{%- block page_link -%}
    <li><a href="{{- path -}}">{{- page -}}</a></li>
{%- endblock page_link -%}

{%- block current_page_link -%}
    <li class="current" aria-current="page">{{- page -}}</li>
{%- endblock current_page_link -%}

{%- block previous_page_link -%}
    <li class="pagination-previous"><a href="{{- path -}}" rel="prev">{{- block('previous_page_message') -}}</a></li>
{%- endblock previous_page_link -%}

{%- block previous_page_link_disabled -%}
    <li class="pagination-previous disabled">{{- block('previous_page_message') -}}</li>
{%- endblock previous_page_link_disabled -%}

{%- block next_page_link -%}
    <li class="pagination-next"><a href="{{- path -}}" rel="next">{{- block('next_page_message') -}}</a></li>
{%- endblock next_page_link -%}

{%- block next_page_link_disabled -%}
    <li class="pagination-next disabled">{{- block('next_page_message') -}}</li>
{%- endblock next_page_link_disabled -%}

{%- block ellipsis -%}
    <li class="ellipsis" aria-hidden="true"></li>
{%- endblock ellipsis -%}
