Move paige.list.content.show to paige.section_pages.full_pages

This commit is contained in:
Will Faught
2023-02-25 14:06:34 -08:00
parent 6412cf76dc
commit 7bb8fbac94
5 changed files with 6 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ addEventListener("resize", paigeResize);
</script>
{{ partial "paige/script.html" (dict "src" "paige/bootstrap/bootstrap.bundle.js") }}
{{ if or ($page.Param "paige.math") (and ($page.Param "paige.list.content.show") (where $page.Pages "Params.paige.math" "eq" true)) }}
{{ if or ($page.Param "paige.math") (and ($page.Param "paige.section_pages.full_pages") (where $page.Pages "Params.paige.math" "eq" true)) }}
{{ partial "paige/script.html" (dict "src" "paige/katex/katex.js") }}
{{ partial "paige/script.html" (dict "onload" "renderMathInElement(document.body);" "src" "paige/katex/auto-render.js") }}
{{ end }}