From 24cceed5595a079d243c9a7408347c9c866f0b34 Mon Sep 17 00:00:00 2001 From: meow Date: Mon, 18 Nov 2019 17:38:55 +0500 Subject: [PATCH 1/2] now, pagination shows next 5 page links --- templates/macros/pagination.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/macros/pagination.html b/templates/macros/pagination.html index 077cc5a..ba4379e 100644 --- a/templates/macros/pagination.html +++ b/templates/macros/pagination.html @@ -4,8 +4,11 @@ « Previous {% else %} « Previous - {% endif %} - | {{ pagination.page }} | + {% endif %} | + {{ pagination.page }} | + {% for page in range(pagination.page + 1, pagination.pages + 1)[:5] %} + {{ page }} | + {% endfor %} {% if pagination.has_next %} Next » {% else %} From ffa31416482f3cfb0c00b0c870cadcb59f8a03e6 Mon Sep 17 00:00:00 2001 From: meow Date: Mon, 18 Nov 2019 18:00:53 +0500 Subject: [PATCH 2/2] favicon added --- assets/u/image/favicon.ico | Bin 0 -> 1150 bytes templates/layout.html | 1 + 2 files changed, 1 insertion(+) create mode 100644 assets/u/image/favicon.ico diff --git a/assets/u/image/favicon.ico b/assets/u/image/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..9cd0fe78ee9c3e0e2faa173823238d4790a3cf80 GIT binary patch literal 1150 zcmb_c+e$(~6rG?C@G0m*nHg%CU93ooBlPnOXd$D%T(wKI=pJuoeB70%4E`FLS-cWMN5>GE30Z&5~M zpGqr$Da#ohkMeLlJY^8LN+EcY#>Hg{CUZ=#-!~-U?EDAUw`l}|RB6t`W4a8_JA5Ze z8PEDS^p(%c=d;~yZY5xMB;asKShs!4{W831G77s>f^%2G_KpPaQ8}O1AQtNtW-qm+ zd)4R#zC6s+F&K;@`iI4$9T*Xd`)7OXrF&;NY&X2Tz5n7RltCz*`Df=WpK@RAY5}&5 y?_!+CS32L_r=g~Ikg~d2@{h~Z$__g{wU6Hho0scLx_525X)?;D- literal 0 HcmV?d00001 diff --git a/templates/layout.html b/templates/layout.html index a7883d3..5ee3cb3 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -18,6 +18,7 @@ {% block title %}Welcome to {% endblock %} | ungleich.ch +