riq0h.jp/themes/qiss/layouts/partials/pager.html

31 lines
866 B
HTML
Raw Permalink Normal View History

2023-08-21 10:07:01 +09:00
<section class="section">
<div class="container">
<nav class="level is-mobile">
<div class="level-left">
<div class="level-item">
{{ if .Paginator.HasPrev }}
<a class="button" href="{{ .Paginator.Prev.URL }}">
<span class="icon is-small is-marginless">
{{ partial "svg/icons" "prev" }}
</span>
Newer
</a>
{{ end }}
</div>
</div>
<div class="level-right is-marginless">
<div class="level-item">
{{ if .Paginator.HasNext }}
<a class="button" href="{{ .Paginator.Next.URL }}">
Older
<span class="icon is-small is-marginless">
{{ partial "svg/icons" "next" }}
</span>
</a>
{{ end }}
</div>
</div>
</nav>
</div>
</section>