Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Jekyll and page.previous. See this gist for style:
<div class="pagination">
<div id="post-nav">
{% if page.previous.url %}
<a class="pagination-item older" href="{{page.previous.url}}">&laquo; Previous</a>
{% endif %}
{% if %}
<a class="pagination-item newer" href="{{}}">Next &raquo;</a>
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.