12 lines
289 B
HTML
12 lines
289 B
HTML
{{ $page := $.Paginator }}
|
|
{{ if gt $page.TotalPages 1 }}
|
|
<div class="mt-2">
|
|
{{ if $page.HasPrev }}
|
|
<a href="{{ $page.Prev.URL }}" class="mr-2">← Newer</a>
|
|
{{ end }}
|
|
|
|
{{ if $page.HasNext }}
|
|
<a href="{{ $page.Next.URL }}" class="ml-2">Older →</a>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|