1
0
Fork 0
forked from mirrors/hugo-tufte

Pagination centered?

This commit is contained in:
Phil Bajsicki 2024-12-08 03:17:31 +01:00
commit 3f7a67f386
3 changed files with 7 additions and 5 deletions
layouts

View file

@ -33,6 +33,8 @@
{{ if and (.Paginator) (gt .Paginator.TotalPages 1) }}
<hr />
<div id="pagination" class="pagination">
<span class="previous-page">
{{ if .Paginator.HasPrev }}
<a class="link-reverse" href="{{.Paginator.Prev.URL}}">«</a>
@ -49,6 +51,8 @@
{{ end }}
</span>
</div>
{{ end }}
{{ partial "footer.html" . }}