Replace .Params, $page.Params with $page.Param

This commit is contained in:
Will Faught
2023-01-29 15:30:48 -08:00
parent 7e8eef9adc
commit 7a8c3693b5
5 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
{{ define "main" }}
{{ $page := . }}
{{ if not .Params.paige.show_full_pages }}
{{ if $page.Param "paige.show_full_pages" | not }}
{{ partial "paige/article.html" $page }}
{{ end }}
{{ partial "paige/pages.html" $page }}