- {% ifequal page page_obj.number %}
- <span class="current page"> {{ page }} </span>
- {% else %}
- <a href="?page={{ page }}{{ getvars }}" class="page"> {{ page }} </a>
- {% endifequal %}
+ {% if page == page_obj.number %}
+ <li class="is-active"><a>{{ page }}</a></li>
+ {% else %}
+ <li><a href="?page={{ page }}{{ getvars }}">{{ page }}</a></li>
+ {% endif %}