aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-11-05 16:27:06 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-11-05 16:27:06 +0800
commit416ff89658dc2adf128193c4da7c462d8a0697b2 (patch)
tree383aebaf51bf88a0d617e413b8035951156c2daa /layouts/partials
parent51e5acaae1f290fd5df50e62935afc8df56e4018 (diff)
refactor(mathjax): cdn jsdelivr
Closes #82
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/scripts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 2dfea1a..561bd3c 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -85,7 +85,7 @@
{{ if .Site.Params.mathjaxUseLocalFiles -}}
<script type="text/javascript" async src="{{ "lib/mathjax/MathJax.js?config=TeX-MML-AM_CHTML" | relURL }}"></script>
{{- else -}}
- <script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML"></script>
+ <script async src="https://cdn.jsdelivr.net/npm/mathjax@2.7.5/MathJax.js?config=TeX-MML-AM_CHTML" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
{{- end }}
{{- end }}