only if 2 dots

pull/157/head
Aevann 2023-06-25 21:22:45 +03:00
parent a2075914ee
commit 5795520015
1 changed files with 3 additions and 1 deletions

View File

@ -37,9 +37,11 @@
<li class="page-item">
<small class="page-link dots">...</small>
</li>
{% if end_point != num_pages-1 %}
{% set ns.start_point = ns.start_point + 1 %}
{% endif %}
{% endif %}
{% endif %}
{% for x in range(ns.start_point, end_point+1) %}
<li class="page-item">