âšī¸Pagination
The Pagination Include
This include was designed to keep SiteBuilder layouts tidy by abstracting common pagination logic out of layouts.
It can be used to determine where in the layout the pagination layout should be displayed. Just move the tag to where you need it.
The include is an alternative to the documented Siteglide feature How to Move Pagination; it just adds a few extra SiteBuilder features.
Important The include will only output pagination if the main Liquid tag has the parameters use_pagination: 'true'
and pagination_layout
set. Otherwise, it will do nothing.
Example
parameters
Versions
V1 - original release
The original logic inside the function is as follows. You can use this to make a copy and modify if you wish in your own layouts.
Last updated