From 3c132254988c872e955b8b024e009a2ba0c8fb05 Mon Sep 17 00:00:00 2001 From: Alphonse Mariya Date: Tue, 2 Nov 2021 19:49:58 +0100 Subject: [PATCH] Remove support for MathJax (#613) --- layouts/partials/posts/math.html | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/layouts/partials/posts/math.html b/layouts/partials/posts/math.html index bc39ce5..0a78c10 100644 --- a/layouts/partials/posts/math.html +++ b/layouts/partials/posts/math.html @@ -1,23 +1,4 @@ -{{- if or (.Params.math) (.Site.Params.math) -}} - - {{/* The file is already minified */}} - - -{{- end -}} -{{- if or (.Params.katex) (.Site.Params.katex) -}} +{{- if or (.Params.math) (.Site.Params.math) (.Params.katex) (.Site.Params.katex) -}} {{/* The loading of KaTeX is deferred to speed up page rendering */}}