Link
The Link control allows users to input a URL or link to another page within their RapidWeaver project.
{
"title": "Link",
"id": "link",
"link": {
"subtitle": "Link to another page"
}
}
Template Example
The following will give you access to the link object in your template file(s).
<a href="{{link.href}}" target="{{link.target}}">Click Me</a>
Getting the Absolute URL
By default the link attribute will return a relative URL. To get the full URL add the absoluteURL property.
{
"title": "Link",
"id": "globalLink",
"link": {
"absoluteURL": true
}
}
Corresponding template example using the absoluteURL.
<a href="{{redirectURL.href}}">Click Me</a>
Last updated
Was this helpful?