Add pagination buttons at the top as well if the user is not on the first page

pull/4/head
Maik de Kruif 4 years ago
parent 988490fd5c
commit b153c7caec
No known key found for this signature in database
GPG Key ID: 50FA6EF181702794
  1. 4
      themes/maik-blog/layouts/_default/list.html

@ -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">

Loading…
Cancel
Save