4 * Default theme implementation for a views mini-pager.
7 * - items: List of pager items.
9 * @see template_preprocess_views_mini_pager()
14 {% if items.previous or items.next %}
15 <nav role="navigation" aria-labelledby="pagination-heading">
16 <h4 class="visually-hidden">{{ 'Pagination'|t }}</h4>
17 <ul class="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="visually-hidden">{{ 'Previous page'|t }}</span>
22 <span aria-hidden="true">{{ items.previous.text|default('‹‹'|t) }}</span>
26 {% if items.current %}
29 Page {{ items.current }}
35 <a href="{{ items.next.href }}" title="{{ 'Go to next page'|t }}" rel="next"{{ items.next.attributes|without('href', 'title', 'rel') }}>
36 <span class="visually-hidden">{{ 'Next page'|t }}</span>
37 <span aria-hidden="true">{{ items.next.text|default('››'|t) }}</span>