Document using the resolvePage and resolvePageURL helpers
Dan provided this example as a basis (antora#333 (comment 1135418394)):
To be clear, it's now possible to resolve a page or page URL from the UI template using the built-in resolvePage
and resolvePageURL
helpers, respectively. For example:
<a href="{{{relativize (resolvePageURL 'product::index.adoc')}}}">Product</a>
or
{{#with (resolvePage 'product::index.adoc')}}
<a href="{{{relativize ./url}}}">{{{./title}}}</a>
{{/with}}
You can see this used through the Asciidoctor docs UI.