{% load url_replace %} {% if paginator.page_range|length > 1 %} {% endif %}