aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common
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/common
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/common')
-rw-r--r--_includes/common/header.html2
-rw-r--r--_includes/common/mathjax.html4
2 files changed, 1 insertions, 5 deletions
diff --git a/_includes/common/header.html b/_includes/common/header.html
index 6df985b..3765ae6 100644
--- a/_includes/common/header.html
+++ b/_includes/common/header.html
@@ -43,7 +43,7 @@
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
- {% include common/mathjax.html %}
+ {% include mathjax.html %}
<link rel="stylesheet" href="{{ '/assets/css/jekyll-theme.css' | relative_url }}">
diff --git a/_includes/common/mathjax.html b/_includes/common/mathjax.html
deleted file mode 100644
index e01e380..0000000
--- a/_includes/common/mathjax.html
+++ /dev/null
@@ -1,4 +0,0 @@
-{% 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 %}