The part object

Each part returned by the paginate.parts array represents a link in the pagination's navigation.

The example below shows how the part object's attributes can be accessed through a for loop that goes through the paginate.parts array.

The part object has the following attributes:

Returns true if the part is a link, returns false if it is not.

part.title

Returns the title of the part.

part.url

Returns the URL of the part.