ref
ref(path=, lang=?, output_format=?, page=?)The permalink of the page at path; unresolved per refLinksErrorLevel.
Arguments#
| Argument | Type | Required |
|---|---|---|
path | string | yes |
lang | string | no |
output_format | string | no |
page | page | no |
Details#
- Kind: Function, implemented by fugo.
- Available in: every kind of template: layouts, partials, shortcodes and 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.