diff options
author | Yoshiharu Yamashita <yoshiharuyamashita@users.noreply.github.com> | 2021-02-07 12:37:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-07 12:37:41 +0300 |
commit | ed55660696e9f5c8d9cf369c261c9494b99a75bf (patch) | |
tree | 0de77ffbe581f0a81b23e017d88c4e6bc95b4ac4 | |
parent | c070abed0198a8048b050082a735b3b7e6bd49a5 (diff) | |
parent | 5be334d049a4158a76c6d0117e64199323daaed1 (diff) |
Merge pull request #109 from Tristor/mathjax-pr
Use CDNJS for MathJax instead of cdn.bootcss.com
-rw-r--r-- | layouts/partials/footer_mathjax.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer_mathjax.html b/layouts/partials/footer_mathjax.html index 2bacfd6..5319ec7 100644 --- a/layouts/partials/footer_mathjax.html +++ b/layouts/partials/footer_mathjax.html @@ -1,4 +1,4 @@ {{ if and (not .Params.disable_mathjax) (or (in (string .Content) "\\") (in (string .Content) "$")) }} <script src="{{ "/js/math-code.js" | relURL }}"></script> - <script async src="{{ .Site.Params.MathJaxCDN | default "//cdn.bootcss.com" }}/mathjax/{{ .Site.Params.MathJaxVersion | default "2.7.1" }}/MathJax.js?config=TeX-MML-AM_CHTML"></script> + <script async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML"></script> {{ end }}
\ No newline at end of file |