Show pagination stats in listing hero
This commit is contained in:
parent
9a8166a39e
commit
5d7d84249b
2 changed files with 9 additions and 1 deletions
|
@ -12,6 +12,12 @@
|
|||
{{ block.super }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content_details %}
|
||||
{{ block.super }}
|
||||
|
||||
{% if listing_pages.has_other_pages %}<p>Showing {{ listing_pages.start_index }}—{{ listing_pages.end_index }} of {{ listing_pages.paginator.count }}.</p>{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block post_content %}
|
||||
<section class="container">
|
||||
{% for page in listing_pages %}
|
||||
|
|
|
@ -34,7 +34,9 @@
|
|||
<h1 class="title is-spaced">{{ page.hero_title }}</h1>
|
||||
{% if page.subtitle %}<h2 class="subtitle is-size-4">{{ page.subtitle|richtext }}</h2>{% endif %}
|
||||
|
||||
{% block content_details %}
|
||||
{% include "common/content-details.html" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div class="column is-narrow dropdown-wrapper hero-buttons is-grouped">
|
||||
{% block hero_buttons %}
|
||||
|
|
Loading…
Reference in a new issue