/octopress-socialink

Socialink plugin for octopress.

Primary LanguageRubyMIT LicenseMIT

octopress socialink plugin

Installation

Place the socialink.rb in your ~/octopress/plugin/ dir.

Usage

{% sl social handle %}
  • social can be any of : gh, fb, gp, tw, in, fl. [github, facebook, googleplus, twitter, linkdin, flickr respectivly]

Examples:

Input:

{% sl gh hemanth %}
{% sl fb hemanth %}
{% sl tw gnumanth %}

Output:

<a href='https://github.com/hemanth'>hemanth</a>
<a href='https://facebook.com/hemanth'>hemanth</a>
<a href='https://twitter.com/gnumanth'>gnumanth</a>