Paginate object
Uses the object.json data file to paginate over the airliner's objects.
Boeing B737
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: object
size: 1
Content
<p>{{ pagination.items[0].model }}</p>
<p>{{ pagination.items[0].description }}</p>
{% include 'paginationObject' %}
paginationObject
<button>{{ pagination.page.previous.model }}</button>
<button>{{ pagination.page.next.model }}</button>