defer
defer(template=, key=, data=?)A placeholder; template is rendered once per key with data after all pages.
Arguments#
| Argument | Type | Required |
|---|---|---|
template | string | yes |
key | string | yes |
data | any | no |
Details#
- Kind: Function, implemented by fugo.
- Available in: layouts and partials only, not shortcodes or render hooks.
- Output: safe HTML, not escaped.
- Site-bound: reads the site or the page being rendered; in a component, pass
page=or declare@__nh.