Paginate collection
Uses the airliner tag in frontmatter to paginate over the airliners collection.
Airbus 350
Wide-body jet airliner that entered service in 2015.
the Airbus A350 XWB is a family of long-range, wide-body airliners developed by Airbus. The first A350 design proposed by Airbus in 2004, in response to the Boeing 787 Dreamliner, would have been a development of the A330 with composite wings and new engines.
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>