Ghost/core/frontend/helpers/tpl/pagination.hbs

10 lines
376 B
Handlebars
Raw Normal View History

<nav class="pagination">
{{#if prev}}
<a class="newer-posts" href="{{page_url prev}}"><span aria-hidden="true">&larr;</span> Newer Posts</a>
{{/if}}
<span class="page-number">Page {{page}} of {{pages}}</span>
{{#if next}}
<a class="older-posts" href="{{page_url next}}">Older Posts <span aria-hidden="true">&rarr;</span></a>
{{/if}}
</nav>