diff --git a/views.py b/views.py index 6407960..2921f68 100644 --- a/views.py +++ b/views.py @@ -73,7 +73,7 @@ def createNavigationBar(blog_id, cur_page, nb_pages): if cur_page == nb_pages: navigation_bar += ' > >>' else: - navigation_bar += ' >' % (blog_id, nb_pages) + navigation_bar += ' >' % (blog_id, cur_page+1) navigation_bar += ' >>' % (blog_id, nb_pages) return navigation_bar