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">
|
2020-07-07 15:13:29 +00:00
|
|
|
<nav class="m-pagination" aria-label="{{t "Pagination"}}">
|
2019-02-24 21:06:24 +00:00
|
|
|
{{#if prev}}
|
2020-07-07 15:13:29 +00:00
|
|
|
<a href="{{page_url prev}}" class="m-icon-button filled in-pagination-left" aria-label="{{t "Newer posts"}}">
|
2019-02-24 21:06:24 +00:00
|
|
|
<span class="icon-arrow-left"></span>
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
2019-08-15 14:40:46 +00:00
|
|
|
<span class="m-pagination__text">{{t "Page"}} {{page}} {{t "of"}} {{pages}}</span>
|
2019-02-24 21:06:24 +00:00
|
|
|
{{#if next}}
|
2020-07-07 15:13:29 +00:00
|
|
|
<a href="{{page_url next}}" class="m-icon-button filled in-pagination-right" aria-label="{{t "Older posts"}}">
|
2019-02-24 21:06:24 +00:00
|
|
|
<span class="icon-arrow-right"></span>
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
|
|
|
</nav>
|
|
|
|
</div>
|