2021-07-18 10:34:01 +02:00
|
|
|
{{ $page := $.Paginator }}
|
|
|
|
{{ if gt $page.TotalPages 1 }}
|
|
|
|
<div class="mt-2">
|
2021-08-15 23:09:59 +02:00
|
|
|
{{ if $page.HasPrev }}
|
|
|
|
<a href="{{ $page.Prev.URL }}" class="mr-2">← Newer</a>
|
|
|
|
{{ end }}
|
|
|
|
|
2021-07-18 10:34:01 +02:00
|
|
|
{{ if $page.HasNext }}
|
2021-08-15 23:09:59 +02:00
|
|
|
<a href="{{ $page.Next.URL }}" class="ml-2">Older →</a>
|
2021-07-18 10:34:01 +02:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
2021-08-15 23:09:59 +02:00
|
|
|
{{ end }}
|