liebling/partials/pagination.hbs
2019-03-12 11:39:01 +01:00

16 lines
530 B
Handlebars

<div class="l-wrapper">
<nav class="m-pagination">
{{#if prev}}
<a href="{{page_url prev}}" class="m-icon-button filled in-pagination-left" aria-label="Newer posts">
<span class="icon-arrow-left"></span>
</a>
{{/if}}
<span class="m-pagination__text">Page {{page}} of {{pages}}</span>
{{#if next}}
<a href="{{page_url next}}" class="m-icon-button filled in-pagination-right" aria-label="Older posts">
<span class="icon-arrow-right"></span>
</a>
{{/if}}
</nav>
</div>