Add section for page list

master
Will Faught 3 years ago
parent a94de4cf1d
commit 1bcf25cf82

@ -1,10 +1,12 @@
{{ if .Pages }}
{{ if .Params.paige.show_full_pages }}
{{ $p := .Paginate .Pages }}
<section>
{{ range $p.Pages }}
{{ .Scratch.Set "paige_show_full_pages" true }}
{{ partial "paige/article" . }}
{{ end }}
</section>
{{ if or $p.HasPrev $p.HasNext }}
<section>
<div class="d-flex justify-content-center">

Loading…
Cancel
Save