Files
paige-hugo/layouts/partials/paige/scripts.html
2024-07-12 13:44:35 -07:00

12 lines
510 B
HTML

{{ $page := . }}
{{ partial "paige/tag-script.html" (dict "page" $page "src" "js/paige/bootstrap/bootstrap.bundle.js") }}
{{ if $page.Param "paige.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 }}
{{ partial "paige/analytics.html" $page }}
<noscript>{{ i18n "paige_noscript" }}</noscript>