2022-12-03 20:01:01 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{{ section.content | safe }}
|
|
|
|
|
2022-12-04 22:19:16 +01:00
|
|
|
{% if config.extra.list_pages %}
|
2022-12-03 20:01:01 +01:00
|
|
|
{% if paginator %}
|
|
|
|
{% set pages = paginator.pages %}
|
|
|
|
{% else %}
|
|
|
|
{% set pages = section.pages %}
|
|
|
|
{% endif %}
|
|
|
|
{% if paginator %}
|
|
|
|
<p>{% if paginator.previous %}<a href="{{ paginator.first }}"><< First</a> <a href="{{ paginator.previous }}">< Previous</a>{% endif %} [{{ paginator.current_index }}/{{ paginator.number_pagers }}] {% if paginator.next %}<a href="{{ paginator.next }}">Next ></a> <a href="{{ paginator.last }}">Last >></a>{% endif %}</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock content %}
|