/jekyll-pinboard-tag

A plugin for Jekyll to generate a user's public Pinboard bookmarks

Primary LanguageRubyMIT LicenseMIT

Pinboard tag plugin for Jekyll

Generates a list of links from a user's public Pinboard bookmarks.

Usage:

{% pinboard user:username limit:# tags:tag,tag %}

Example:

{% pinboard user:ericdfields limit:15 tags:ruby,rails %}

All paramaters are optional, e.g.:

{% pinboard user:ericdfields %}

The only parameters you can pass with the tag are: user, limit, and tags.

Configuration options available for use in _config.yml:

pinboard_tag:
  user:       "ericdfields"
  limit:      15
  tags:       "ruby,jekyll"
  list_tag:   "ol"
  list_class: "pinboard-list"
  new_tab:    false
  show_desc:  false

Configuration option info:

user

The Pinboard user whose links you want to display. The default is ericdfields.

limit

The number of Pinboard bookmarks you want to display. The default is 15.

tags

The Pinboard tag (or tags) you want to display from your bookmarks. Separate tags with commas. If no tags are provided, the most recent bookmarks across all tags will be displayed.

list_tag

The HTML tag you want to surround the list of links. The default is ol, for an ordered list.

list_class

The CSS class you want the surrounding list to have. The default is pinboard-list.

new_tab

Set this to true if you want the links to open in a new tab/window. The default is false.

show_desc

Set this to true if you want the description of your Pinboard bookmark to be displayed (if available) in a blockquote. The default is false.

Original plugin author:

Updates by: