Sha256: c6ef85fcf55abd62513d3f795af085788ce13734f4f5b8e0ac2b187105ccbe82
Contents?: true
Size: 1.05 KB
Versions: 12
Compression:
Stored size: 1.05 KB
Contents
{% if paginator.total_pages > 1 %} <div class="row is-center"> <div class="col is-center"> {% if paginator.previous_page %} <a class="button primary" href="{{ paginator.previous_page_path | relative_url }}">« Prev</a> {% else %} <a class="button dark">« Prev</a> {% endif %} </div> <div class="col is-center"> {% for page in (1..paginator.total_pages) %} {% if page == paginator.page %} <em class="paginateindex">{{ page }}</em> {% elsif page == 1 %} <a class="paginateindex" href="{{ '/' | relative_url }}">{{ page }}</a> {% else %} <a class="paginateindex" href="{{ site.paginate_path | relative_url | replace: ':num', page }}">{{ page }}</a> {% endif %} {% endfor %} </div> <div class="col is-center"> {% if paginator.next_page %} <a class="button primary" href="{{ paginator.next_page_path | relative_url }}">Next »</a> {% else %} <a class="button dark">Next »</a> {% endif %} </div> </div> {% endif %}
Version data entries
12 entries across 12 versions & 1 rubygems