Pagination Examples

Many pages

Many pages without permalink

Previous | Next

  • The Boeing 777 is a wide-body aircraft, first manufacturated on 1995

YAML :

pagination:
    data: collections.airliner
    size: 1

Body :
{% if pagination.href.previous %}[Previous]({{ pagination.href.previous | url }}){% else %}Previous{% endif %} | {% if pagination.href.next %}[Next]({{ pagination.href.next | url }}){% else %}Next{% endif %}
The {{ pagination.items[0].data.title }} is a {{ pagination.items[0].data.role }} aircraft, first manufacturated on {{ pagination.items[0].data.service }}