Remove full pages

This commit is contained in:
Will Faught
2023-03-19 18:18:38 -07:00
parent e24aa20c04
commit d20243aab7
8 changed files with 42 additions and 102 deletions

View File

@@ -33,7 +33,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.section_pages.full_pages") (where $page.Pages "Params.paige.math" "eq" true)) }}
{{ if $page.Param "paige.math" }}
{{ partial "paige/script.html" (dict "src" "_paige/katex/katex.min.js") }}
{{ partial "paige/script.html" (dict "onload" "renderMathInElement(document.body);" "src" "_paige/katex/auto-render.min.js") }}
{{ end }}