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

github.com/calintat/minimal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schemmel <daniel.schemmel@comsys.rwth-aachen.de>2019-06-05 20:25:17 +0300
committerCalin Tataru <calintat@gmail.com>2019-08-05 10:43:41 +0300
commit04619fbcd6f6bc4996d01a1bf17cdbbf58e0f897 (patch)
tree9fc2528e1e65aaf6e50d58ba4eb5b85991b8bb47
parent9ff8afb1a9439ad4d9b646bb2d621cc23d02989d (diff)
move mathjax include to head from document
-rw-r--r--layouts/partials/header.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 2bb42b5..9186084 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -25,14 +25,14 @@
gtag('config', '{{ .Site.GoogleAnalytics }}');
</script>
{{ end }}
- </head>
- {{ if .Site.Params.MathJax | default true }}
- <!-- adds MathJax support -->
- <script type="text/javascript" async
- src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
- </script>
- {{ end }}
+ {{ if .Site.Params.MathJax | default true }}
+ <!-- adds MathJax support -->
+ <script type="text/javascript" async
+ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
+ </script>
+ {{ end }}
+ </head>
<body>
{{ partial "body-open" . }}