Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 857 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 857 Bytes

jekyll-addthis

This simple Jekyll plugin generates links to AddThis' sharing endpoint service. The module does not introduce any Javascript functionality or CSS styling to the share links; it simply generates the HTML markup leaving styling and Javascript functionality to site builders.

Installation and Usage

  1. Place addthis.rb in your <root>/_plugins directory so that Jekyll can load it
  2. In _config.yml, add the sample config shown below.
  3. To create AddThis links in markup, use the following liquid tag: {% share_link service %} where

Sample _config.yml

addthis:
  pubid: XZY-ID
  image: /path/to/share/img