From 1bcf25cf822cb3d3225d1433a13689214c8e6560 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 30 Dec 2022 23:35:58 -0800 Subject: [PATCH] Add section for page list --- layouts/partials/paige/pages.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/layouts/partials/paige/pages.html b/layouts/partials/paige/pages.html index abdbc6b4..041240c8 100644 --- a/layouts/partials/paige/pages.html +++ b/layouts/partials/paige/pages.html @@ -1,10 +1,12 @@ {{ if .Pages }} {{ if .Params.paige.show_full_pages }} {{ $p := .Paginate .Pages }} -{{ range $p.Pages }} -{{ .Scratch.Set "paige_show_full_pages" true }} -{{ partial "paige/article" . }} -{{ end }} +
+ {{ range $p.Pages }} + {{ .Scratch.Set "paige_show_full_pages" true }} + {{ partial "paige/article" . }} + {{ end }} +
{{ if or $p.HasPrev $p.HasNext }}