From 7bc6396e916a22b749161a17f9d1efb1d3ea55bc Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sun, 1 Apr 2018 11:05:32 +0200 Subject: [PATCH] app/views/_partials/pagination.volt: small fix. --- app/views/_partials/pagination.volt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/_partials/pagination.volt b/app/views/_partials/pagination.volt index 35998aa..a7db769 100644 --- a/app/views/_partials/pagination.volt +++ b/app/views/_partials/pagination.volt @@ -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 @@ {% endif %} - {% if page.total_pages > pagination_slider and page.current > pagination_slider %} + {% if page.total_pages > pagination_slider and page.current > (pagination_slider + 1) %}
  • 1