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