Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit d551009

Browse files
committed
Fixed mathjax load only on math page 🚀
1 parent 01e5c88 commit d551009

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

_includes/dependencies-js-blog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% if page.math %}
12
<script type="text/x-mathjax-config">
23
MathJax.Hub.Config({
34
jax: ["input/TeX","output/SVG"],
@@ -14,7 +15,6 @@
1415
}
1516
});
1617
</script>
17-
{% if page.math %}
1818
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_SVG"></script>
1919
{% endif %}
2020
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js" data-cfasync="false"></script>

assets/styles/style.blog.archive.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/styles/style.blog.home.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/styles/style.blog.tags.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/styles/style.cookiepolicy.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/styles/style.privacypolicy.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)