diff options
Diffstat (limited to 'templates/aggregator/posts.html')
-rw-r--r-- | templates/aggregator/posts.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/aggregator/posts.html b/templates/aggregator/posts.html index 2a5b8a1..efd1cb1 100644 --- a/templates/aggregator/posts.html +++ b/templates/aggregator/posts.html @@ -24,13 +24,15 @@ <div id="pager"> {% if list.has_previous %} <div class="nav-prev"> - <a href="/{{ list.previous_page_number }}/" id="previous">previous</a> + <a href="/{{ category }}/{{ list.previous_page_number }}/" + id="previous">previous</a> </div> {% endif %} {% if list.has_next %} <div class="nav-next"> - <a href="/{{ list.next_page_number }}/" id="next">next</a> + <a href="/{{ category }}/{{ list.next_page_number }}/" + id="next">next</a> </div> {% endif %} |