Skip to content

Instantly share code, notes, and snippets.

@micahbrich
Last active December 15, 2015 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micahbrich/5209910 to your computer and use it in GitHub Desktop.
Save micahbrich/5209910 to your computer and use it in GitHub Desktop.
{% for post in paginator.posts %}
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
<h5 class="date">{{post.date}}</h5>
<div class="content">
{{ post.content }}
</div>
{% endfor %}
<nav class="top">
<a href="{{page.previous.url}}" class="back {% unless page.previous.url %}invisible{% endunless %}">Prev</a>
<a href="/" class="home">Home</a>
<a href="{{page.next.url}}" class="next {% unless page.next.url %}invisible{% endunless %}">Next</a>
</nav>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment