script defer src="{{ $katexJS.Permalink }}" integrity="{{ $katexJS.Data.Integrity }}"></script>
  {{ $katexRenderJS := resources.Get "lib/katex/auto-render.min.js" }}
  {{ $katexRenderJS := $katexRenderJS | resources.Fingerprint $algorithm }}
  <script
    defer
    src="{{ $katexRenderJS.Permalink }}"
    integrity="{{ $katexRenderJS.Data.Integrity }}"
    onload="renderMathInElement(document.body);"
  ></script>
  {{ $katexFonts := resources.Match "lib/katex/fonts/*" }}
  {{ range $katexFonts }}
    {{ .P