From cd7149bbede0ff86425972a01515a55ea85005f7 Mon Sep 17 00:00:00 2001 From: HidegonSan <68275072+HidegonSan@users.noreply.github.com> Date: Fri, 1 Dec 2023 20:18:25 +0900 Subject: [PATCH] format --- layouts/partials/head/katex.html | 5 +++-- layouts/shortcodes/audio.html | 2 +- layouts/shortcodes/mermaid.html | 2 +- layouts/shortcodes/video.html | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/layouts/partials/head/katex.html b/layouts/partials/head/katex.html index 53b3d52..beb28f2 100644 --- a/layouts/partials/head/katex.html +++ b/layouts/partials/head/katex.html @@ -1,8 +1,8 @@ {{- 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" -}} @@ -40,6 +40,7 @@ {{- end -}} {{- end -}} + {{- -}} {{- with (slice $katex_license_js (resources.Get "js/katex/contrib/auto-render.min.js")) | resources.Concat "assets/js/katex/contrib/auto-render.min.js" | fingerprint -}}