diff options
-rw-r--r-- | layouts/_default/search.html | 2 | ||||
-rw-r--r-- | layouts/partials/head.html | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/layouts/_default/search.html b/layouts/_default/search.html index 1f179bc..41596de 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -35,6 +35,7 @@ </article> </template> <script + async src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/7.0.0/fuse.min.js" integrity="sha512-GrJ4P9yra6dftp5O0eaKFKS4ch1FYn1xR/VCHQIMJO1LNqcKhjkAkAETHYoE81Ffh3BjCJMWA/AZSYP521jxFA==" crossorigin="anonymous" @@ -43,6 +44,7 @@ {{ with resources.Get "js/search.js" | resources.Minify | fingerprint }} <script + async src="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index dfc2f2b..be48acf 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -31,5 +31,8 @@ {{ end -}} - <script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script> + <script + async + src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js" + ></script> </head> |