Url.toLink
toLink($label, $params={}) -> HtmlString
Description
Create a <a>
link tag pointing to the Url.
The $params
argument takes a Map of additional HTML tag attributes.
tem profileLink($userName) { --- $profileUrl = url'/user/{}'.fill($userName) {{ profileUrl.toLink($userName) }} } profileLink('taylor22') //= <a href="/user/taylor22">taylor22</a>