zola/test_site/templates/section_paginated.html

18 lines
568 B
HTML
Raw Normal View History

2017-05-03 08:52:49 +00:00
{% extends "index.html" %}
{% block content %}
{% for page in paginator.pages %}
{{page.title}}
{% endfor %}
{% for pager in paginator.pagers %}
{{pager.index}}: {{pager.path | safe }}
{% endfor %}
2017-05-08 10:29:37 +00:00
Num pagers: {{ paginator.pagers | length }}
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 %}