X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3c0e373447323b5e33b273859e790a2054771afa..a3b153ea6e30da275edf3e34b8d2f8ca1bb436cc:/src/wolnelektury/templates/pagination/pagination.html?page=%7B%7B%20page%20%7D%7D%7B%7B%20getvars%20%7D%7D
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 %}