The paginate object
paginate object can only be used within paginate tags.
paginate object has the following attributes:
Returns the total number of items that are on the pages previous to the current one. For example, if you are paginating by 5 and are on the third page,
paginate.current_offset would return
Returns the number of the current page.
Returns the total number of items to be paginated. For example, if you are paginating a collection of 120 products,
paginate.items would return
Returns an array of all parts of the pagination. A
part is a component used to build the navigation for the pagination.
Returns the part variable for the Next link in the pagination navigation.
Returns the part variable for the Previous link in the pagination navigation.
Returns the number of items displayed per page.
Returns the number of pages created by the pagination tag.