paginate
paginate(pages=, size=?)The pager over pages. A re-call with another list or size is an error naming both positions.
Arguments#
| Argument | Type | Required |
|---|---|---|
pages | array | yes |
size | int | no |
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.