{% extends "common/content_page.html" %} {% load wagtailroutablepage_tags wagtailadmin_tags %} {% block extra_head %} {{ block.super }} {% endblock %} {% block hero_buttons %} {% if listing_pages.has_previous %} {% endif %} {% if listing_pages.has_next %} {% endif %} {{ block.super }} {% endblock %} {% block content_details %} {{ block.super }} {% if listing_pages.has_other_pages %}

Showing {{ listing_pages.start_index }}—{{ listing_pages.end_index }} of {{ listing_pages.paginator.count }}.

{% endif %} {% endblock %} {% block post_content %}
{% for page in listing_pages %} {% block listing_item %} {% include "common/listing-item.html" %} {% endblock %} {% endfor %}
{% if listing_pages.has_other_pages %}

{% include "common/pagination.html" with page=listing_pages %}
{% endif %} {% endblock %}