Replace scratch with param

This commit is contained in:
Will Faught
2023-02-12 17:23:11 -08:00
parent c47d3be282
commit 9e484bc707
5 changed files with 41 additions and 8 deletions

View File

@@ -5,8 +5,7 @@
{{ $p := $page.Paginate $page.Pages }}
<section id="paige-pages">
{{ range $p.Pages }}
{{ $page.Scratch.Set "paige_list_show_content" true }}
{{ partial "paige/article.html" . }}
{{ partial "paige/article.html" (dict "listshowcontent" true "page" .) }}
{{ end }}
</section>
{{ if or $p.HasPrev $p.HasNext }}