4 * Theme override for a views mini-pager.
7 * - items: List of pager items.
11 * @see template_preprocess_views_mini_pager()
14 {% if items.previous or items.next %}
15 <nav role="navigation" aria-labelledby="pagination-heading">
16 <h4 class="sr-only">{{ 'Pagination'|t }}</h4>
17 <ul class="pager js-pager__items">
18 {% if items.previous %}
20 <a href="{{ items.previous.href }}" title="{{ 'Go to previous page'|t }}" rel="prev"{{ items.previous.attributes|without('href', 'title', 'rel') }}>
21 <span class="sr-only">{{ 'Previous page'|t }}</span>
22 <span aria-hidden="true">{{ items.previous.text|default('‹‹'|t) }}</span>
28 <a href="{{ items.next.href }}" title="{{ 'Go to next page'|t }}" rel="next"{{ items.next.attributes|without('href', 'title', 'rel') }}>
29 <span class="sr-only">{{ 'Next page'|t }}</span>
30 <span aria-hidden="true">{{ items.next.text|default('››'|t) }}</span>