You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
874 B
17 lines
874 B
<nav> |
|
<ul class="pagination"> |
|
<li{% if paginator.previous_page == null %} class="disabled"{% endif %}> |
|
<a href="{{ paginator.previous_page_path | replace: '//', '/'}}" aria-label="Previous page"> |
|
<span aria-hidden="true">«</span> |
|
</a> |
|
</li> |
|
{% for page in (1..paginator.total_pages) %} |
|
<li{% if paginator.page == page %} class="active"{% endif %}><a href="{% if page == 1 %}{% link blog/index.html %}{% else %}{{ site.paginate_path | replace: '//', '/' | replace: ':num', page }}{% endif %}">{{page}}</a></li> |
|
{% endfor %} |
|
<li{% if paginator.next_page == null %} class="disabled"{% endif %}> |
|
<a href="{{paginator.next_page_path | replace: '//', '/'}}" aria-label="Next page"> |
|
<span aria-hidden="true">»</span> |
|
</a> |
|
</li> |
|
</ul> |
|
</nav>
|
|
|