{% if page > 1 %} {% endif %} {% if pagination.get_pages() > page %} {% endif %}