{% if page %}
{% comment %}
`role="status"` makes this a polite live region, so that paging through a list with HTMX -- which replaces this
element rather than reloading the page -- announces the new range instead of changing silently.
{% endcomment %}
Showing {{ page.start_index }}-{{ page.end_index }} of {{ page.paginator.count }}
{% if not exclude_controls %}
{% endif %}
{% endif %}
{% if not exclude_controls %}
{% endif %}
{% if paginator.num_pages > 1 and not exclude_controls %}