mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Pagination could conceivably be used in more than one place on a page (eg. both top and bottom). For that reason it should probably have a class rather than an ID.
10 lines
No EOL
370 B
Handlebars
10 lines
No EOL
370 B
Handlebars
|
|
<nav class="pagination" role="pagination">
|
|
{{#if next}}
|
|
<div class="previous-page"><a href="/page/{{next}}/">Older Posts →</a></div>
|
|
{{/if}}
|
|
<div class="page-number">Page {{page}}<span class="extended"> of {{pages}}</span></div>
|
|
{{#if prev}}
|
|
<div class="next-page"><a href="/page/{{prev}}/">← Newer Posts</a></div>
|
|
{{/if}}
|
|
</nav> |