Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/toryanderson/hugo-icarus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/footer_js.html')
-rw-r--r--layouts/partials/footer_js.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/footer_js.html b/layouts/partials/footer_js.html
index 1b31a03..3b9cdba 100644
--- a/layouts/partials/footer_js.html
+++ b/layouts/partials/footer_js.html
@@ -7,7 +7,7 @@
<script src="{{ . | absURL }}"></script>
{{ end }}
-{{ "<!-- MathJax -->" | safeHTML }}
+{{ if .Site.Params.mathjax }}
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
@@ -15,3 +15,4 @@ MathJax.Hub.Config({
});
</script>
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
+{{ end }} \ No newline at end of file