Sha256: b6f26dbc411201c3e1290c005331f87aecf89f1853ed4d99fd72754a0457fcdf
Contents?: true
Size: 1.35 KB
Versions: 18
Compression:
Stored size: 1.35 KB
Contents
{% if paginator.total_pages > 1 %} <nav class="pagination" role="navigation" aria-label="pagination"> {% if paginator.previous_page %} <a class="pagination-previous" title="This is the first page" href="{{ paginator.previous_page_path | relative_url }}">Previous</a> {% else %} <a class="pagination-previous" title="This is the first page" disabled>Previous</a> {% endif %} {% if paginator.next_page %} <a class="pagination-next" href="{{ paginator.next_page_path | relative_url }}">Next page</a> {% else %} <a class="pagination-next" title="This is the last page" disabled>Next page</a> {% endif %} <ul class="pagination-list"> {% for page in (1..paginator.total_pages) %} <li> {% if page == paginator.page %} <a class="pagination-link is-current" aria-label="Page {{page}}" aria-current="page">{{ page }}</a> {% elsif page == 1 %} <a class="pagination-link" aria-label="Page 1" aria-current="page" href="{{ '/' | relative_url }}">{{ page }}</a> {% else %} <a class="pagination-link" aria-label="Goto page {{page}}" href="{{ site.paginate_path | relative_url | replace: ':num', page }}">{{ page }}</a> {% endif %} </li> {% endfor %} </ul> </nav> {% endif %}
Version data entries
18 entries across 18 versions & 1 rubygems