Hashtag Helpers
Stub.by Short Links Hashtag Helper
Creates Stub.by short URLs and HTML anchor links
Stub.by is a URL shortening service that creates short links for a given URL. Stub.by short URLs use the format http://stub.by/[shortcode].
Stub.by links are valid for a default of 30 days. Set the TTL to 0 to make the short link permanent.
Syntax
Create a short URL:
Create an HTML anchor link:
Parameters
Short URL
Use stubby_short_url when you need the short URL as a plain string.
Example definition:
Substituted definition
Short Link
Use stubby_short_link when you need an HTML anchor tag.
Example definition with anchor text:
Substituted definition
The above example creates a link that remains active for 60 seconds or until it has been accessed 60 times, whichever happens first.
Short Link Without Anchor Text
If no title is provided, the generated short URL is used as the anchor text.
Example definition:
Substituted definition
See also: Stubby Short URL and Stubby Short Link Handlebars helpers.