app/views/_partials/pagination.volt: small fix.
This commit is contained in:
parent
560234c6d1
commit
7bc6396e91
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
|||
{% return a < b ? a : b %}
|
||||
{%- endmacro %}
|
||||
|
||||
{% set pagination_slider = 2 %}
|
||||
{% set pagination_slider = 3 %}
|
||||
|
||||
{% if (page.total_pages > 1) %}
|
||||
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if page.total_pages > pagination_slider and page.current > pagination_slider %}
|
||||
{% if page.total_pages > pagination_slider and page.current > (pagination_slider + 1) %}
|
||||
<li>
|
||||
<a href="{{ pagination_url ~ 1 }}">1</a>
|
||||
</li>
|
||||
|
|
|
|||
Reference in a new issue