Mount correct Katex files
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
{{ partial "paige/link.html" (dict "href" "_paige/bootstrap-icons/bootstrap-icons.css") }}
|
||||
|
||||
{{ if or ($page.Param "paige.math") (and ($page.Param "paige.section_pages.full_pages") (where $page.Pages "Params.paige.math" "eq" true)) }}
|
||||
{{ partial "paige/link.html" (dict "href" "paige/katex/katex.css") }}
|
||||
{{ partial "paige/link.html" (dict "href" "_paige/katex/katex.min.css") }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .AlternativeOutputFormats }}
|
||||
|
@@ -34,8 +34,8 @@ addEventListener("resize", paigeResize);
|
||||
{{ 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)) }}
|
||||
{{ 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") }}
|
||||
{{ 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 }}
|
||||
|
||||
{{ partial "paige/analytics.html" $page }}
|
||||
|
Reference in New Issue
Block a user