Create an ordered tutorial series 🔗
Use an explicit Jinja list when a series must follow a fixed order instead of Flatmark's pagination sort order.
In the series index page, define each entry and render the list:
{% set tutorials = [
{ "label": "Install the application", "url": "/tutorials/install.html" },
{ "label": "Create a project", "url": "/tutorials/create-project.html" },
{ "label": "Deploy the project", "url": "/tutorials/deploy.html" }
] %}
{% for tutorial in tutorials %}
- [{{ tutorial.label }}]({{ tutorial.url }})
{% endfor %}
Set pagination.enabled to false in the page's front matter so the index is emitted as one page:
---
title: Tutorials
pagination:
enabled: false
---
The rendered links retain the order of the Jinja list.