Add post pagination to sidebar and make minor styling alterations

This commit is contained in:
Michael Rose
2016-03-28 21:48:42 -04:00
parent c335b70007
commit 945fb58044
9 changed files with 56 additions and 17 deletions

View File

@@ -0,0 +1,8 @@
<nav class="pagination">
{% if page.previous %}
<a href="{{ base_path }}{{ page.previous.url }}" class="btn btn--inverse btn--small" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous }}</a>
{% endif %}
{% if page.next %}
<a href="{{ base_path }}{{ page.next.url }}" class="btn btn--inverse btn--small" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next }}</a>
{% endif %}
</nav>