Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yoshiharuyamashita/blackburn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/footer_mathjax.html')
-rw-r--r--layouts/partials/footer_mathjax.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/footer_mathjax.html b/layouts/partials/footer_mathjax.html
new file mode 100644
index 0000000..2bacfd6
--- /dev/null
+++ b/layouts/partials/footer_mathjax.html
@@ -0,0 +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>
+ {{ end }} \ No newline at end of file