From f4ffe83aa7e55d18d7469106ea00105b545f85b7 Mon Sep 17 00:00:00 2001 From: Thomas Chartron Date: Thu, 11 Nov 2021 21:19:33 +0100 Subject: [PATCH] update --- templates/layout.html | 46 ++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/templates/layout.html b/templates/layout.html index c63c082..b75bbc3 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -186,28 +186,30 @@ {% block pagination %} {% if paginator.previous or paginator.next %} -
- - - - - Previous - - - - Next page - - - - +
+
+ + + + + Previous + +
    + {% for pager in range(start=1, end=paginator.number_pagers+1) %} +
  • + + {{pager}} + +
  • + {% endfor %} +
+ + Next page + + + + +
{% endif %} {% endblock%}