aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYihui Xie <xie@yihui.name>2021-11-11 23:14:09 -0600
committerYihui Xie <xie@yihui.name>2021-11-11 23:14:09 -0600
commitc996cc735a2fee5224d3532506c8170c532bb994 (patch)
treea12c4cab578d2c6979c5acdeaa195f229ce774c8
parentc5236cf022273adf4a94d5d6d3bb4230c8b02e66 (diff)
downloadzk-theme-c996cc735a2fee5224d3532506c8170c532bb994.tar.gz
zk-theme-c996cc735a2fee5224d3532506c8170c532bb994.zip
use defer instead of async
-rw-r--r--exampleSite/layouts/partials/foot_custom.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/exampleSite/layouts/partials/foot_custom.html b/exampleSite/layouts/partials/foot_custom.html
index 3389d46..4f9aaa2 100644
--- a/exampleSite/layouts/partials/foot_custom.html
+++ b/exampleSite/layouts/partials/foot_custom.html
@@ -1,4 +1,4 @@
-<script src="//yihui.org/js/math-code.js"></script>
-<script async src="//mathjax.rstudio.com/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>
+<script defer src="//yihui.org/js/math-code.js"></script>
+<script defer src="//mathjax.rstudio.com/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>
-<script async src="//yihui.org/js/center-img.js"></script>
+<script defer src="//yihui.org/js/center-img.js"></script>