liebling/partials/pagination.hbs

20 lines
621 B
Handlebars
Raw Permalink Normal View History

2019-04-14 18:41:25 +00:00
{{!--
This pagination template is used to navigate through newer and older articles.
--}}
2019-02-24 21:06:24 +00:00
<div class="l-wrapper">
2019-03-12 10:39:01 +00:00
<nav class="m-pagination">
2019-02-24 21:06:24 +00:00
{{#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>