From a3cab1a3542932c3a9ed53d5dbca7158efe3120f Mon Sep 17 00:00:00 2001
From: olOwOlo <26087907+olOwOlo@users.noreply.github.com>
Date: Fri, 6 Jul 2018 22:24:47 +0800
Subject: feat(mathjax): configure to let mathjax use local files
Close #63
---
layouts/partials/scripts.html | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
(limited to 'layouts')
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 1a71393..b9c9a55 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -78,7 +78,11 @@
messageStyle: 'none'
};
-
+ {{ if .Site.Params.mathjaxUseLocalFiles -}}
+
+ {{- else -}}
+
+ {{- end }}
{{- end }}
--
cgit v1.2.3