From 57955200158fe1efd6d505c156b1d56672114f6a Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 25 Jun 2023 21:22:45 +0300 Subject: [PATCH] only if 2 dots --- files/templates/pagination.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/templates/pagination.html b/files/templates/pagination.html index d062fe690..26511cba9 100644 --- a/files/templates/pagination.html +++ b/files/templates/pagination.html @@ -37,7 +37,9 @@
  • ...
  • - {% set ns.start_point = ns.start_point + 1 %} + {% if end_point != num_pages-1 %} + {% set ns.start_point = ns.start_point + 1 %} + {% endif %} {% endif %} {% endif %}