--- layout: has_no_sidebars title: Sass Blog pagination: data: collections.blog size: 5 alias: posts reverse: true permalink: '/blog/{% if pagination.pageNumber > 0 %}page/{{ pagination.pageNumber | plus: 1 }}/{% endif %}index.html' --- {% assign pageNumber = pagination.pageNumber | plus: 1 %} {% assign pages = pagination.pages.size %} {% if pages > 1 %}
Page {{ pageNumber }} of {{ pages }}
{% if pagination.href.previous %} {% endif %} {% endif %}