Shorten share links with Bit.ly
This addon creates a modifier to shorten urls using the Bit.ly API
Installation
- Copy over the files into the
site
folder. - Add your Bit.ly API key in the
settings/addons/lynx.yaml
api_key
parameter. - Shorten any url using the new
lynx
modifier!
Branded Links
It's best to generate branded links on your production server only to avoid hitting your limit of 500 branded Bitlinks per month. Configure the server you'd like Lynx to run on through the addons settings.
environments:
- production
Example
{{ permalink | lynx }}