Permalink
Browse files

Reverse previous articles so that clicking is more intuitive.

  • Loading branch information...
1 parent 19dd2a0 commit 38e097c3a1287731e3083ca41edefda6efd7a76a @lethain committed Mar 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 views.py
View
@@ -91,7 +91,7 @@ def context_module(page, limit=2, cli=None):
before = None
after = None
if pages[:limit]:
- before = {"title":"Previous", "pages":pages[:limit]}
+ before = {"title":"Previous", "pages":reversed(pages[:limit])}
if pages[limit+1:]:
after = {"title":"Next", "pages":pages[limit+1:]}
return (before, after)

0 comments on commit 38e097c

Please sign in to comment.