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,7 +37,9 @@
<li class="page-item">
<small class="page-link dots">...</small>
</li>
{% 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 %}