From 25d6a9093a00cc0e1c52843d094047209734c60c Mon Sep 17 00:00:00 2001 From: chimchooree Date: Sat, 3 Oct 2020 13:31:46 -0500 Subject: [PATCH] css is absolute path, so diary subpages use css; diary nav links to right pages --- src/views/diary.tpl | 6 +++--- src/views/header.tpl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 @@ {{title or 'blessfrey.me'}} - +