Mention paginator in getting started overview

Close #1658
This commit is contained in:
Vincent Prouillet 2022-01-23 23:27:06 +01:00
parent 108d196b85
commit 4dfb35d83a

View File

@ -155,6 +155,7 @@ Let's now create some more templates. In the `templates` directory, create a `bl
{{ section.title }}
</h1>
<ul>
<!-- If you are using pagination, section.pages will be empty. You need to use the paginator object -->
{% for page in section.pages %}
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
{% endfor %}