diff --git a/src/views/diary.tpl b/src/views/diary.tpl index 78ec87a..3886503 100644 --- a/src/views/diary.tpl +++ b/src/views/diary.tpl @@ -4,12 +4,10 @@
% for i in range(max(0,page - limit), min(total,page + limit)): % if i == page: - - % end - {{i}} - % if i == page: - - % end + {{i}} + % else: + {{i}} + % end % end
@@ -17,20 +15,20 @@
% for s in snippets: -
-
- {{!s[0]}} -
-
- {{!s[1]}} -
-
- {{!s[2]}} • {{!s[3]}} +
+
+ {{!s[0]}} +
+
+ {{!s[1]}} +
+
+ {{!s[2]}} • {{!s[3]}} +
+
- -
% end