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

@@ -53,7 +53,7 @@ paigeQuery.addEventListener("change", function (e) {
"raw" ($page.Param "paige.bootstrap.script.raw")
"src" ($page.Param "paige.bootstrap.script.script_src" | default "https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js")
) }}
{{ if or .Params.paige.math (and .Params.paige.show_full_pages (where .Pages "Params.paige.math" "eq" true)) }}
{{ if or ($page.Param "paige.math") (and ($page.Param "paige.show_full_pages") (where $page.Pages "Params.paige.math" "eq" true)) }}
{{ partial "paige/script.html" (dict
"integrity" ($page.Param "paige.math.script.script_integrity")
"raw" ($page.Param "paige.math.script.raw")