mirror of
https://github.com/codeninjasuk/showcase.git
synced 2024-12-01 11:47:08 -05:00
13 lines
776 B
HTML
13 lines
776 B
HTML
|
<nav class="pagination" role="pagination">
|
||
|
{% if paginator.previous_page %}
|
||
|
{% if paginator.previous_page == 1 %}
|
||
|
<a class="newer-posts" href="{{site.baseurl}}/" title="Previous Page">« Newer</a>
|
||
|
{% else %}
|
||
|
<a class="newer-posts" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" title="Previous Page">« Newer </a>
|
||
|
{% endif %}
|
||
|
{% endif %}
|
||
|
<span class="page-number d-none"> Page {{paginator.page}} of {{paginator.total_pages}} </span>
|
||
|
{% if paginator.next_page %}
|
||
|
<a class="older-posts" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" title="Next Page">Older »</a>
|
||
|
{% endif %}
|
||
|
</nav>
|