Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Replaces jekyll's related_posts function to use tags to calculate relationships

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 _plugins
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENCE.rdoc
Octocat-spinner-32 README.rdoc
README.rdoc

related_posts

This is a jekyll plugin that overrides the built in related_posts function to calculate related posts based on a posts' tags.

Installation

To register it as a plugin, copy _plugins/related_posts.rb to the _plugins directory of your jekyll project.

How to use it

The plugin replaces the functionality of site.related_posts so you can use it as follows:

{% for post in site.related_posts %}
  <a href="{{ post.url }}">{{ post.title }}</a><br />
{% endfor %}

Licence

Copyright © 2011-2012, Lawrence Woodman This software is licensed under an MIT Licence. Please see the file, LICENCE.rdoc, for details.

Something went wrong with that request. Please try again.