summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/macros.py2
1 files changed, 2 insertions, 0 deletions
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):
134 for i in range(n_news_pages): 134 for i in range(n_news_pages):
135 if i == current_index: 135 if i == current_index:
136 footer.append('%d' % (i + 1)) 136 footer.append('%d' % (i + 1))
137 elif i == 0:
138 footer.append('[1](news/index.html)')
137 else: 139 else:
138 footer.append('[%d](news/%d.html)' % (i + 1, i + 1)) 140 footer.append('[%d](news/%d.html)' % (i + 1, i + 1))
139 if current_index != n_news_pages - 1: 141 if current_index != n_news_pages - 1: