Replace site.Params with $page.Param

This commit is contained in:
Will Faught
2023-01-29 15:10:01 -08:00
parent 4d3bb0d4f3
commit 0a01c70f39
7 changed files with 55 additions and 51 deletions

View File

@@ -1,7 +1,7 @@
{{ $page := . }}
{{ $copyright := site.Copyright }}
{{ $credit := not site.Params.paige.hide_credit_link }}
{{ $credit := not ($page.Param "paige.hide_credit_link") }}
{{ $first := templates.Exists "partials/paige/footer-first.html" }}
{{ $last := templates.Exists "partials/paige/footer-last.html" }}