diff options
author | Jeffrey Tse <jeffreytse.mail@gmail.com> | 2023-08-03 22:19:38 +0800 |
---|---|---|
committer | Jeffrey Tse <jeffreytse.mail@gmail.com> | 2023-08-03 22:19:38 +0800 |
commit | a49acb6fc0c8aa2af42a63e1870f64a244633341 (patch) | |
tree | b5491a8343e15c097b96800ef31e4f7772b68b13 /_includes/extensions/photo-swipe.html | |
parent | 997515d10e6d049672b49d24fd69ab302e293dec (diff) |
perf: reduce render-blocking scripts
Diffstat (limited to '_includes/extensions/photo-swipe.html')
-rw-r--r-- | _includes/extensions/photo-swipe.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/_includes/extensions/photo-swipe.html b/_includes/extensions/photo-swipe.html index 9a5a51c..99ea4f7 100644 --- a/_includes/extensions/photo-swipe.html +++ b/_includes/extensions/photo-swipe.html @@ -1,5 +1,7 @@ -<script src="//cdnjs.cloudflare.com/ajax/libs/photoswipe/5.3.7/umd/photoswipe-lightbox.umd.min.js"></script> -<script src="//cdnjs.cloudflare.com/ajax/libs/photoswipe/5.3.7/umd/photoswipe.umd.min.js"></script> +<script + src="//cdnjs.cloudflare.com/ajax/libs/photoswipe/5.3.7/umd/photoswipe-lightbox.umd.min.js" async></script> +<script + src="//cdnjs.cloudflare.com/ajax/libs/photoswipe/5.3.7/umd/photoswipe.umd.min.js" async></script> <link href="//cdnjs.cloudflare.com/ajax/libs/photoswipe/5.3.7/photoswipe.min.css" rel="stylesheet" |