Update MathJax 2.7.4 -> 2.7.5

This commit is contained in:
vimux 2018-08-08 21:30:27 +03:00
parent 1954da8a3a
commit f8d952fad5
No known key found for this signature in database
GPG key ID: 5A34FDC4EE832E34
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ googleAnalytics = "" # Enable Google Analytics by entering your tracking id
tocOpen = true # Open Table of Contents block. Optional
comments = true # Enable comments for all site pages
mathjax = true # Enable MathJax for all site pages
mathjaxPath = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js" # Specify MathJax path. Optional
mathjaxPath = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" # Specify MathJax path. Optional
mathjaxConfig = "TeX-AMS-MML_HTMLorMML" # Specify MathJax config. Optional
[Params.Social]

View file

@ -1,3 +1,3 @@
{{ if and .IsPage (eq (.Param "mathjax") true) }}
<script src="{{ .Param "mathjaxPath" | default "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js" }}{{ with .Param "mathjaxConfig" | default "TeX-AMS-MML_HTMLorMML" }}?config={{ . }}{{ end }}" async></script>
<script src="{{ .Param "mathjaxPath" | default "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" }}{{ with .Param "mathjaxConfig" | default "TeX-AMS-MML_HTMLorMML" }}?config={{ . }}{{ end }}" async></script>
{{ end }}