Add single page links to list pages showing full pages

This commit is contained in:
Will Faught
2022-12-17 22:40:45 -08:00
parent 1f2551e5ce
commit ef9795ca6c
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
{{ if .Params.paige_show_full_pages }}
{{ $p := .Paginate .Pages }}
{{ range $p.Pages }}
{{ .Scratch.Set "paige_show_full_pages" true }}
{{ partial "paige-article.html" . }}
{{ end }}
{{ if or $p.HasPrev $p.HasNext }}