From 45d25ecd73b988be46aaf8ce396367071ba65ef2 Mon Sep 17 00:00:00 2001
From: foodtooth <chddx_nux@qq.com>
Date: Mon, 23 Sep 2019 17:18:42 +0000
Subject: [PATCH] Use updated mathjax provided by jsdelivr. (#215)
---
layouts/partials/posts/math.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/posts/math.html b/layouts/partials/posts/math.html
index 111ed0a..658d3b5 100644
--- a/layouts/partials/posts/math.html
+++ b/layouts/partials/posts/math.html
@@ -1,6 +1,6 @@
{{- if .Params.math -}}
<script type="text/javascript" async
- src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full">
+ src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$']],
--
Gitblit v1.10.0