{% load i18n %} {% load replace_query_param from display_tags %} {% if page_obj.paginator.page_range %} {% else %} {% endif %}