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

9 lines
327 B
Handlebars

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