partial
partial(name=, …)Renders _partials/<name> with the kwargs as top-level names; returns its return_value or the rendered string.
Arguments#
| Argument | Type | Required |
|---|---|---|
name | string | yes |
Further keyword arguments are passed on.
Details#
- Kind: Function, implemented by fugo.
- Available in: every kind of template: layouts, partials, shortcodes and 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.