Created
December 6, 2013 15:48
-
-
Save chrissimpkins/7826931 to your computer and use it in GitHub Desktop.
Octopress pagination example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<footer> | |
<p class="meta"> | |
{% include post/author.html %} | |
{% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %} | |
{% include post/categories.html %} | |
</p> | |
{% unless page.sharing == false %} | |
{% include post/sharing.html %} | |
{% endunless %} | |
<p class="meta"> | |
{% if page.previous.url %} | |
<a class="basic-alignment left" href="{{page.previous.url}}" title="Previous Post: {{page.previous.title}}">« {{page.previous.title}}</a> | |
{% endif %} | |
{% if page.next.url %} | |
<a class="basic-alignment right" href="{{page.next.url}}" title="Next Post: {{page.next.title}}">{{page.next.title}} »</a> | |
{% endif %} | |
</p> | |
</footer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment