mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-15 04:45:08 +01:00
10 lines
380 B
HTML
10 lines
380 B
HTML
|
<div class="pagination">
|
||
|
<div class="pagination__buttons">
|
||
|
{{ if .Paginator.HasPrev }}
|
||
|
<a class="button next" href="{{ .Paginator.Prev.URL }}"><span class="button__icon">←</span></a>
|
||
|
{{ end }}
|
||
|
{{ if .Paginator.HasNext }}
|
||
|
<a class="button previous" href="{{ .Paginator.Next.URL }}"><span class="button__icon">→</span></a>
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
</div>
|