diff --git a/_config.yml b/_config.yml index 63ddc7d..2fdd3b5 100644 --- a/_config.yml +++ b/_config.yml @@ -130,5 +130,9 @@ html_minifier: removeStyleLinkTypeAttributes: true minifyJS: true minifyCSS: true + +lazy_load: + enable: true + all: true theme: amane diff --git a/package.json b/package.json index 20ead67..bcbd745 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,8 @@ "hexo-clean-css": "2.0.0", "hexo-uglify": "^2.0.0", "hexo-html-minifier": "^1.0.0", - "hexo-theme-amane": "0.0.40", + "hexo-native-lazy-load": "1.1.2", + "hexo-theme-amane": "0.0.41", "hexo-theme-icarus": "5.2.1", "inferno": "^8.0.1", "inferno-create-element": "^8.0.1", diff --git a/source/lazyload.gif b/source/lazyload.gif deleted file mode 100644 index aa171bb..0000000 Binary files a/source/lazyload.gif and /dev/null differ