Link

The Link control allows users to input a URL or link to another page within their RapidWeaver project.

{
  "title": "CTA Link",
  "id": "ctaLink",
  "link": {
    "subtitle": "Link to a product or signup page"
  }
}

Template Example

The following will give you access to the link object in your template file(s).

<a href="{{ctaLink.href}}" target="{{ctaLink.target}}">Get Started</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": "CTA Link",
  "id": "ctaLink",
  "link": {
    "absoluteURL": true
  }
}

Corresponding template example using the absoluteURL.

Last updated

Was this helpful?