2020-07-06 18:55:32 +00:00
|
|
|
{{ $pag := $.Paginator }}
|
|
|
|
|
2020-07-17 22:03:22 +00:00
|
|
|
<nav class="gblog-paging flex flex-even align-center" role="navigation">
|
|
|
|
<div class="gblog-paging__item gblog-paging__item--prev">
|
2020-07-06 18:55:32 +00:00
|
|
|
{{ if $pag.HasPrev }}
|
2020-07-17 22:03:22 +00:00
|
|
|
<a class="flex-inline align-center fake-link no-wrap" href="{{ $pag.Prev.URL }}">PREV</a>
|
2020-07-06 18:55:32 +00:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
<div class="gblog-paging__state">Page {{ $pag.PageNumber }} of {{ $pag.TotalPages }}</div>
|
2020-07-17 22:03:22 +00:00
|
|
|
<div class="gblog-paging__item gblog-paging__item--next">
|
2020-07-06 18:55:32 +00:00
|
|
|
{{ if $pag.HasNext }}
|
2020-07-17 22:03:22 +00:00
|
|
|
<a class="flex-inline align-center fake-link no-wrap" href="{{ $pag.Next.URL }}">NEXT</a>
|
2020-07-06 18:55:32 +00:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</nav>
|