<div class=pagination>
{% if pagination.has_prev %}
- <a href={{ pagination.get_page_url(request, pagination.page-1) }}>« Prev</>
+ <a href="{{ pagination.get_page_url(request, pagination.page-1) }}">« Prev</>
{% endif %}
{%- for page in pagination.iter_pages() %}
{% if page %}
{% if page != pagination.page %}
- <a href={{ pagination.get_page_url(request, page) }}>{{ page }}</a>
+ <a href="{{ pagination.get_page_url(request, page) }}">{{ page }}</a>
{% else %}
<strong>{{ page }}</strong>
{% endif %}
{%- endfor %}
{% if pagination.has_next %}
- <a href={{ pagination.get_page_url(request, pagination.page+1) }}>Next »</a>
+ <a href="{{ pagination.get_page_url(request, pagination.page + 1) }}">Next »</a>
{% endif %}
</div>
{% endif %}