diff --git a/layouts/partials/head/katex.html b/layouts/partials/head/katex.html index c10795a..53b3d52 100644 --- a/layouts/partials/head/katex.html +++ b/layouts/partials/head/katex.html @@ -1,6 +1,10 @@ {{- if or (.Params.katex) (.Params.mhchem) (.HasShortcode "katex") -}} + + + + {{- $katex_license_body := "/*\nSPDX-License-Identifier: MIT\nLicensed under the MIT license.\nhttps://github.com/KaTeX/KaTeX/blob/main/LICENSE\nhttps://opensource.org/license/mit/\n*/\n" -}} {{- $katex_license_css := $katex_license_body | resources.FromString "css/katex_license.css" -}} {{- $katex_license_js := $katex_license_body | resources.FromString "js/katex_license.js" -}}