Paginate collection
Uses the airliner tag in frontmatter to paginate over the airliners collection.
Boeing 777
Wide-body jet airliner that entered service in 1995.
the Boeing 777 is a wide-body airliner developed and manufactured by Boeing Commercial Airplanes. It is the world's largest twinjet. The 777 was designed to bridge the gap between Boeing's other wide-body airliners and Airbus's A340.
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>