diff options
Diffstat (limited to 'themes/Brine/layouts/partials/pagination.html')
-rw-r--r-- | themes/Brine/layouts/partials/pagination.html | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/themes/Brine/layouts/partials/pagination.html b/themes/Brine/layouts/partials/pagination.html index 7ed3bce..1dc3648 100644 --- a/themes/Brine/layouts/partials/pagination.html +++ b/themes/Brine/layouts/partials/pagination.html @@ -1,6 +1,5 @@ -{{ with $.Paginator }}{{ if gt .TotalPages 1 }} - <p class="pagination"> - {{ with .Prev }}<a class="page-link" href="{{ .URL }}">Previous</a></li> - {{ end }}{{ range .Pagers }}<a class="page-link{{ if eq .PageNumber $.Paginator.PageNumber }} a{{ end }}" href="{{ .URL }}">{{ .PageNumber }}</a> - {{ end }}{{ with .Next }}<a class="page-link" href="{{ .URL }}">Next</a>{{ end }} - </p>{{ end }}{{ end }}
\ No newline at end of file +{{ with $.Paginator }}{{ if gt .TotalPages 1 }} <p class="pagination"> + {{ with .Prev }}<a class="page-link" href="{{ .URL }}">Previous</a></li> + {{ end }}{{ range .Pagers }}<a class="page-link{{ if eq .PageNumber $.Paginator.PageNumber }} a{{ end }}" href="{{ .URL }}">{{ .PageNumber }}</a> + {{ end }}{{ with .Next }}<a class="page-link" href="{{ .URL }}">Next</a>{{ end }} + </p>{{ end }}{{ end }}
\ No newline at end of file |