Browse files

fixing paging

  • Loading branch information...
1 parent b8601c7 commit c6f4953bd832c6270cc865368e1ed0e7916d0604 @jellehelsen committed Aug 28, 2011
Showing with 3 additions and 5 deletions.
  1. +3 −5 source/index.html
View
8 source/index.html
@@ -13,13 +13,11 @@
<nav role="pagination">
<div>
{% if paginator.next_page %}
- <a class="prev" href="/page{{paginator.next_page}}/">&larr; Older</a>
+ <a class="prev" href="{{paginator.next_page}}">&larr; Older</a>
{% endif %}
<a href="/blog/archives">Blog Archives</a>
- {% if paginator.previous_page and paginator.previous_page > 1 %}
- <a class="next" href="/page{{paginator.previous_page}}/">Newer &rarr;</a>
- {% elsif paginator.previous_page %}
- <a class="next" href="/">Newer &rarr;</a>
+ {% if paginator.previous_page %}
+ <a class="next" href="{{paginator.previous_page}}">Newer &rarr;</a>
{% endif %}
</div>
</nav>

0 comments on commit c6f4953

Please sign in to comment.