mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-09-27 20:46:25 +00:00
Add pagination buttons at the top as well if the user is not on the first page
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
<div class="content">{{ .Content }}</div>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Paginator.HasPrev }}
|
||||
{{ partial "pagination.html" . }}
|
||||
{{ end }}
|
||||
|
||||
<div class="posts-list">
|
||||
{{ range $paginator.Pages }}
|
||||
<div class="post">
|
||||
|
||||
Reference in New Issue
Block a user