Paginate collection
Uses the airliner tag in frontmatter to paginate over the airliners collection.
Airbus 380
Wide-body jet airliner that entered service in 2003.
The Airbus A380 is a very large wide-body airliner that was developed and produced by Airbus. It is the world's largest passenger airliner and the only full-length double-deck jet airliner.
Structure
Frontmatter
pagination:
data: collections.airliner
size: 1
Content
<p>{{ pagination.items[0].data.title }}</p>
<p>{{ pagination.items[0].content }}</p>
{% include 'paginationCollection' %}
paginationCollection
<button>{{ pagination.page.previous.data.title }}</button>
<button>{{ pagination.page.next.data.title }}</button>