2021-07-18 10:34:01 +02:00
|
|
|
{{ $page := $.Paginator }}
|
|
|
|
{{ if gt $page.TotalPages 1 }}
|
2021-08-29 17:55:45 +02:00
|
|
|
<div class="my-5 flex justify-between">
|
2021-08-15 23:09:59 +02:00
|
|
|
{{ if $page.HasPrev }}
|
2021-08-29 17:55:45 +02:00
|
|
|
<a href="{{ $page.Prev.URL }}">← Newer</a>
|
2021-08-15 23:09:59 +02:00
|
|
|
{{ end }}
|
|
|
|
|
2021-07-18 10:34:01 +02:00
|
|
|
{{ if $page.HasNext }}
|
2021-08-29 17:55:45 +02:00
|
|
|
<a href="{{ $page.Next.URL }}">Older →</a>
|
2021-07-18 10:34:01 +02:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
2021-08-15 23:09:59 +02:00
|
|
|
{{ end }}
|