krazykylep/Jekyll-Models — pull request #1 by sectore (2013-01-13 10:46:57+00:00)
Title: Enhancement: Linking to next / previous model

To link from one model to another within a template ("pagination") it might be helpful to have linked models using `model.next` and `model.previous`.

Example:

{% if page.model.previous %}

PREVIOUS

{% else %}

{% endif %}
{% if page.model.next %}

NEXT

{% else %}

{% endif %}