Sha256: c71ccc95766ac1cf0b1d4ac58a804506edecbee0647761e11b43660070e9aee5

Contents?: true

Size: 762 Bytes

Versions: 2

Compression:

Stored size: 762 Bytes

Contents

<!--
settings and more info:
http://jekyllrb.com/docs/pagination/#render-the-paginated-posts
source code copy/paste from:
http://www.sigmainfy.com/blog/how-to-add-jekyll-pagination-next-previous-post-link.html#add-next-and-previous-post-links
-->

<div class="pagination-posts">
  {% if page.previous.url %}
    <a class="previous-posts" href="{{ page.previous.url | relative_url }}" title="{{ page.previous.title }}">&laquo; {{ page.previous.title | truncate: 45 }}</a>
  {% else %}
    <span>&laquo; ...</span>
  {% endif %}
  {% if page.next.url %}
    <a class="next-posts" href="{{ page.next.url | relative_url }}" title="{{ page.next.title }}">{{ page.next.title | truncate: 45 }} &raquo;</a>
  {% else %}
    <span>... &raquo;</span>
  {% endif %}
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
writers-zone-0.2.1 _includes/pagination/posts.html
writers-zone-0.2.0 _includes/pagination/posts.html