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

github.com/coderzh/hugo-pacman-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralants <alants>2018-07-09 07:09:19 +0300
committeralants <alants>2018-07-09 07:09:19 +0300
commit33bb39e9d6e5b72bbadc292327aa4dd44c66b2ca (patch)
treebc205ed8b5b53b6cc54d85ffb6e848e07cf99c99
parent0833717b5ba5cfac0a667e5ba3e946a630e164e8 (diff)
add the script to support the MathJax
-rw-r--r--layouts/partials/head.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 7c95b76..9af6249 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -22,6 +22,9 @@
<link rel="stylesheet" href="{{ .Site.BaseURL }}highlight/styles/github.css">
<script src="{{ .Site.BaseURL }}highlight/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
+<script type="text/javascript" async
+ src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
+</script>
<link rel="stylesheet" href="{{ .Site.BaseURL }}font/hack/css/hack.min.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css">
</head>