{% load i18n %} {% comment %} Shared pagination controls. Context: `page_obj` (a Django Page), `elided_range` (paginator.get_elided_page_range output) and `querystring` (the current GET params minus `page`, so filters survive page navigation). {% endcomment %} {% if page_obj.paginator.num_pages > 1 %} {% endif %}