Skip to content

Commit

Permalink
Merge pull request #7 from tbaschak/fix_pagination
Browse files Browse the repository at this point in the history
fix pagination issue with last page link
  • Loading branch information
agusmakmun authored Feb 9, 2017
2 parents 170f6c6 + 1ac507e commit 23b71de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1>{{ site.title }}</h1>
{% endif %}
{% endfor %}

<li><a href="/page{{ paginator.total_pages }}/">Last</a></li>
<li><a href="/page/{{ paginator.total_pages }}/">Last</a></li>

{% if paginator.next_page %}
<li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">&raquo;</a></li>
Expand Down

0 comments on commit 23b71de

Please sign in to comment.