Skip to content

A little Jekyll plugin to generate previews of linked articles/sites.

Notifications You must be signed in to change notification settings

aleks/jekyll_preview_tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Jekyll Preview Tag

This plugin uses nokogiri and ruby-readability to create previews and a locally cached snippets.

Required Gems/Libraries: nokogiri, open-uri, ruby-readability, digest

Usage:

  1. Generate a new folder called "_cache" in your Jekyll directory. This will hold all linked snippets, so you don't need to regenerate them on every regeneration of your site.

  2. Use the following link syntax:

    {% preview http://example.com/some-article.html %}

  3. In case we can't fetch the Title from a linksource, you can set it manually:

    {% preview "Some Article" http://example.com/some-article.html %}

Feel free to send a pull-request!

About

A little Jekyll plugin to generate previews of linked articles/sites.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages