From c2ffff88172ee60773dd6c10d71026fd0aa9f23a Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 15 Sep 2015 09:04:59 +0200 Subject: News pages: Fix link to page 1 in footer diff --git a/web/macros.py b/web/macros.py index 6a10d1b..6269718 100644 --- a/web/macros.py +++ b/web/macros.py @@ -134,6 +134,8 @@ def make_news_footer(n_news_pages, current_index): for i in range(n_news_pages): if i == current_index: footer.append('%d' % (i + 1)) + elif i == 0: + footer.append('[1](news/index.html)') else: footer.append('[%d](news/%d.html)' % (i + 1, i + 1)) if current_index != n_news_pages - 1: -- cgit v0.10-9-g596f