瀏覽代碼

footer: Update MathJax CDN (#160)

MathJax CDN will shutdown, hence update to Cloudflare CDN.

See https://www.mathjax.org/cdn-shutting-down/
Ronny Chevalier 8 年之前
父節點
當前提交
6da3f77816
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      layouts/partials/footer.html

+ 1 - 1
layouts/partials/footer.html

@@ -56,7 +56,7 @@
     <script type="text/x-mathjax-config">
         MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']] } });
     </script>
-    <script async src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML"></script>
+    <script async src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_CHTML"></script>
     {{ end }}
 
   </body>