Airliners

Paginate collection

Uses the airliner tag in frontmatter to paginate over the airliners collection.

- - This is page 5 - -

Boeing 737

Narrow-body jet airliner that entered service in 1966.

The Boeing 737 is a narrow-body aircraft produced by Boeing at its Renton factory in Washington. Developed to supplement the Boeing 727 on short and thin routes, the twinjet retained the 707 fuselage width and six abreast seating but with two underwing turbofans instead of four.

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>