aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/mathjax.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-22 16:05:34 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-22 16:05:34 +0300
commitb061c8661e8deb48222c04e6c2dc62f149fc303e (patch)
tree603ea2924ff2e30796337186a87d05add2b21ee9 /_includes/mathjax.html
parentcss: move CSS files to jekyll-theme/ (diff)
downloadjekyll-theme-b061c8661e8deb48222c04e6c2dc62f149fc303e.tar.gz
jekyll-theme-b061c8661e8deb48222c04e6c2dc62f149fc303e.zip
mathjax: move the include out of common/
Diffstat (limited to '_includes/mathjax.html')
-rw-r--r--_includes/mathjax.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/_includes/mathjax.html b/_includes/mathjax.html
new file mode 100644
index 0000000..e01e380
--- /dev/null
+++ b/_includes/mathjax.html
@@ -0,0 +1,4 @@
+{% if page.mathjax %}
+ <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+ <script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
+{% endif %}