Skip to content
Browse files
Forgot something.
  • Loading branch information
felixfontein committed Dec 6, 2016
1 parent d32a818 commit 5bb86e3bcd2f138a8b65eaa24e60fbf415ca2977
Showing 1 changed file with 1 addition and 1 deletion.
@@ -2377,7 +2377,7 @@ def generic_index_renderer(self, lang, posts, indexes_title, template_name, cont
posts = posts[kw["index_display_post_count"]:]
num_pages = len(lists)
displayed_page_numbers = [utils.get_displayed_page_number(i, num_pages, self) for i in range(num_pages or 1)]
page_links = [page_link(i, page_number, num_pages, False) for i in enumerate(displayed_page_numbers)]
page_links = [page_link(i, page_number, num_pages, False) for i, page_number in enumerate(displayed_page_numbers)]
if kw['show_index_page_navigation']:
temp_map = {page_number - 1: link for page_number, link in zip(displayed_page_numbers, page_links)}
page_links_context = [temp_map[i] for i in range(num_pages)]

0 comments on commit 5bb86e3

Please sign in to comment.