hugo-soresu

My fork of hugo-xmin

git clone git://git.shimmy1996.com/hugo-soresu.git
commit c5e0a4584c240057988eeaaa0975fc6113cf89b4
parent 3899a2a8d9955eff24b701ff1c89edb7b8a2618e
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Mon, 28 May 2018 19:47:39 -0500

Predefined config for MathJax is actually faster.

Diffstat:
Mlayouts/partials/include_js.html | 12+-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/layouts/partials/include_js.html b/layouts/partials/include_js.html
@@ -1,12 +1,2 @@
 <script type="text/javascript" src="/js/math-code.js"></script>
-<script type="text/x-mathjax-config">
-  MathJax.Hub.Config({
-    jax: ["input/TeX","output/CommonHTML"],
-    extensions: ["tex2jax.js","MathMenu.js", "a11y/accessibility-menu.js"],
-    TeX: {
-      extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
-    },
-    showMathMenu: true
-  });
-</script>
-<script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js" integrity="sha256-GhM+5JHb6QUzOQPXSJLEWP7R73CbkisjzK5Eyij4U9w=" crossorigin="anonymous"></script>
+<script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_CHTML" integrity="sha256-GhM+5JHb6QUzOQPXSJLEWP7R73CbkisjzK5Eyij4U9w=" crossorigin="anonymous"></script>