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

Commit c4d087e

Browse files
committed
Now mathjax is loaded only for posts that contain math formulas 🚀
1 parent d390da6 commit c4d087e

File tree

59 files changed

+61
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+61
-0
lines changed

_includes/dependencies-js-blog.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
}
1515
});
1616
</script>
17+
{% if page.math %}
1718
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_SVG"></script>
19+
{% endif %}
1820
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js" data-cfasync="false"></script>
1921
<script type="text/javascript" src="/assets/js/index.blog.min.js?rev=8fbd96347a3b5ec25c624bf508e0088f"></script>
2022
<script type="text/javascript">

_posts/2017-05-10-about-me.md

Lines changed: 1 addition & 0 deletions

_posts/2017-05-12-github-pages-jekyll-blog-born.md

Lines changed: 1 addition & 0 deletions

_posts/2017-05-13-first-threejs-scene.md

Lines changed: 1 addition & 0 deletions

_posts/2017-06-02-swift-closure-syntax.md

Lines changed: 1 addition & 0 deletions

_posts/2017-06-14-swift-closure-demystifying-autoclosure-escaping.md

Lines changed: 1 addition & 0 deletions

_posts/2017-07-25-a-first-approach-to-contract-test.md

Lines changed: 1 addition & 0 deletions

_posts/2017-07-26-phong-lighting-model.md

Lines changed: 1 addition & 0 deletions

_posts/2017-08-11-model-view-presenter-architecture-ios-swift-unit-test.md

Lines changed: 1 addition & 0 deletions

_posts/2017-08-25-how-to-calculate-reflection-vector.md

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)