Sha256: 0e2a3d3399064957ed9733dfa529931f37b59ca4c354cc4c65b4a42054b7496e

Contents?: true

Size: 780 Bytes

Versions: 4

Compression:

Stored size: 780 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 | prepend: site.baseurl }}" 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 | prepend: site.baseurl }}" title="{{ page.next.title }}">{{ page.next.title | truncate: 45 }} &raquo;</a>
  {% else %}
    <span>... &raquo;</span>
  {% endif %}
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
writers-zone-0.1.5 _includes/pagination/posts.html
writers-zone-0.1.4 _includes/pagination/posts.html
writers-zone-0.1.3 _includes/pagination/posts.html
writers-zone-0.1.2 _includes/pagination/posts.html