1
0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-20 09:22:49 +03:00
Ghost/core/server/helpers/tpl/pagination.hbs
2014-02-20 15:29:14 -06:00

9 lines
329 B
Handlebars

<nav class="pagination" role="navigation">
{{#if prev}}
<a class="newer-posts" href="{{page_url prev}}">&larr; 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 &rarr;</a>
{{/if}}
</nav>