From 238c3ef642c9ca6f9dfff1886cc0445eb08bebc0 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 2 May 2023 01:23:20 +0300 Subject: [PATCH] cosmetic improvement --- files/templates/home.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/files/templates/home.html b/files/templates/home.html index a845587d8..f989f668e 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -179,7 +179,12 @@
  • 1
  • - {% if start_point != 2 %} + + {% if start_point == 3 %} +
  • + 2 +
  • + {% elif start_point != 2 %}
  • ...
  • @@ -193,11 +198,16 @@ {% endfor %} {% if end_point < num_pages %} - {% if end_point != num_pages-1 %} + {% if end_point == num_pages-2 %} +
  • + {{num_pages-1}} +
  • + {% elif end_point != num_pages-1 %}
  • ...
  • {% endif %} +
  • {{num_pages}}