{% load aristotle_tags %} {% if page.has_previous or page.has_next %}
{% if page.paginator.num_pages <= 10 %} {% else %} {% endif %}
{% endif %}