zola/test_site/templates/section_paginated.html

15 lines
461 B
HTML
Raw Permalink Normal View History

2017-05-03 08:52:49 +00:00
{% extends "index.html" %}
{% block content %}
{% for page in paginator.pages %}
{{page.title}}
{% endfor %}
2018-09-30 21:49:32 +00:00
Num pagers: {{ paginator.number_pagers }}
2017-05-03 08:52:49 +00:00
Page size: {{ paginator.paginate_by }}
Current index: {{ paginator.current_index }}
First: {{ paginator.first | safe }}
Last: {{ paginator.last | safe }}
{% if paginator.previous %}has_prev{% endif%}
{% if paginator.next %}has_next{% endif%}
{% endblock content %}