Rename paige.math to enable_math

This commit is contained in:
Will Faught
2025-02-08 15:47:47 -08:00
parent 5c53e7d110
commit 3c2f1ec7bb
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
{{ partial "paige/tag-script.html" (dict "page" $page "src" "js/paige/bootstrap/bootstrap.bundle.js") }}
{{ if $page.Param "paige.math" }}
{{ if $page.Param "paige.enable_math" }}
{{ partial "paige/tag-script.html" (dict "page" $page "src" "js/paige/katex/katex.min.js") }}
{{ partial "paige/tag-script.html" (dict "onload" "renderMathInElement(document.body);" "page" $page "src" "js/paige/katex/auto-render.min.js") }}
{{ end }}