12 lines
298 B
HTML
12 lines
298 B
HTML
{{ $page := $.Paginator }}
|
|
{{ if gt $page.TotalPages 1 }}
|
|
<div class="mt-6 flex justify-between font-semibold">
|
|
{{ if $page.HasPrev }}
|
|
<a href="{{ $page.Prev.URL }}">← Newer</a>
|
|
{{ end }}
|
|
|
|
{{ if $page.HasNext }}
|
|
<a href="{{ $page.Next.URL }}">Older →</a>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|