<!– settings and more info: jekyllrb.com/docs/pagination/#render-the-paginated-posts source code copy/paste from: 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 }}">« {{ page.previous.title | truncate: 45 }}</a> {% else %} <span>« ...</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 }} »</a> {% else %} <span>... »</span> {% endif %}
</div>