{% if is_paginated %}

{{paginator.count}} packages found. Page {{page_obj.number}} of {{paginator.num_pages}}.

{% if page_obj.has_previous %} < Prev {% else %} < Prev {% endif %} {% if page_obj.has_next %} Next > {% else %} Next > {% endif %}
{% else %}

{{ package_list.count }} packages found.

{% endif %}