Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 723 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 723 Bytes

Lynx Statamic 2.0

Shorten share links with Bit.ly

This addon creates a modifier to shorten urls using the Bit.ly API

Installation

  1. Copy over the files into the site folder.
  2. Add your Bit.ly API key in the settings/addons/lynx.yaml api_key parameter.
  3. 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 }}