{% for link in object_list %}
{% include 'index_row.html' with link=link %}
{% endfor %}
{% if page_obj.has_previous %}
« firstprevious
{% endif %}
Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}.
{% if page_obj.has_next %}
next last »
{% endif %}
{% if page_obj.has_next %}
next last »
{% endif %}