Paginate collection
Uses the airliner tag in frontmatter to paginate over the airliners collection.
Boeing 717
Narrow-body jet airliner that entered service in 1998.
The Boeing 717 is an American five-abreast narrow-body airliner produced by Boeing Commercial Airplanes. The twin-engine airliner was developed for the 100-seat market and originally marketed by McDonnell Douglas in the early 1990s as the MD-95 until the company merged with Boeing in August 1997.
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>