From 9faea274db0cd42959ff4823eb4e61e048bb7677 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Mon, 31 Mar 2025 11:18:22 +0800 Subject: refactor: automatic and native lazyload - replace vanilla-lazyload with native `loading="lazy"` method - prettify code Former-commit-id: 3c391ba20d3d8346790b62a7c62f3b0a008d08fa --- layouts/partials/scripts.html | 113 ++++++++++++++++++++++++++++-------------- 1 file changed, 76 insertions(+), 37 deletions(-) (limited to 'layouts/partials/scripts.html') diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 7218ee86..bd6002b1 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -3,43 +3,82 @@ {{- end }} -- cgit v1.2.3