X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ba83b8311a93602de7f733c9a9e183e3ebbb006c..5c14b2f1216cf266efd63f4de84e3f83bb99c9ff:/src/wolnelektury/templates/pagination/pagination.html diff --git a/src/wolnelektury/templates/pagination/pagination.html b/src/wolnelektury/templates/pagination/pagination.html index 9f3375a7d..460932127 100644 --- a/src/wolnelektury/templates/pagination/pagination.html +++ b/src/wolnelektury/templates/pagination/pagination.html @@ -9,11 +9,11 @@ {% endif %} {% for page in pages %} {% if page %} - {% ifequal page page_obj.number %} + {% if page == page_obj.number %} {{ page }} {% else %} {{ page }} - {% endifequal %} + {% endif %} {% else %} … {% endif %}