Handlebars Helpers
Stub Link
Returns a full anchor tag with the Stub URL.
See also Short URLs for more information on the different types of URLs available.
NOTE
Use the Stub URL helper to return just the URL without the anchor tag.
Uses
- Use to create a full link that points to the stub on Stubber
Usage
Helper name : stublink
eg.
{{#stublink [stubref] [lid] [action_name] [stub_block]}{{/stublink}}
Examples
Create a link to a stub
Example definition:
Substituted definition
Advanced usage
You can optionally add these extra arguments to the URL that is returned similar to the Stub URL helper:
- LID: Learn more
- Action name: to open the specific action
- Stub block: to open only the certain stub block
Example definition:
Substituted definition