paginate
The paginate object has the following attributes:
paginate.current_page
Returns the number of the current page.
paginate.pages
Returns the number of pages created by the pagination tag.
paginate.items
Returns the total number of items to be paginated. For example, if you are paginating a collection of 2 products, paginate.items would return 2.
paginate.next
Returns the part variable for the Next link in the pagination navigation.
paginate.parts
Returns an array of all parts of the pagination. More info ›