diff --git a/src/views/diary.tpl b/src/views/diary.tpl index b9a1524..3c8d4b0 100644 --- a/src/views/diary.tpl +++ b/src/views/diary.tpl @@ -12,17 +12,17 @@ end %> % if page >= limit + 1: - first + first % end % for i in range(max(0,page - limit), min(total,page + limit)): % if i == page: {{i}} % else: - {{i}} + {{i}} % end % end % if page <= total - limit: - last + last % end diff --git a/src/views/header.tpl b/src/views/header.tpl index 44b25fc..9c96506 100644 --- a/src/views/header.tpl +++ b/src/views/header.tpl @@ -1,3 +1,3 @@