paginate

Signature
paginate(pages=, size=?)

The pager over pages. A re-call with another list or size is an error naming both positions.

Arguments#

ArgumentTypeRequired
pagesarrayyes
sizeintno

Details#

  • Kind: Function, implemented by fugo.
  • Available in: layouts and partials only, not shortcodes or render hooks.
  • Output: escaped like any value, unless marked safe.
  • Site-bound: reads the site or the page being rendered; in a component, pass page= or declare @__nh.

    Type to search titles, headings and text.