diff --git a/scripts/filters/post_lazyload.js b/scripts/filters/post_lazyload.js index b5cb3b1..c279633 100644 --- a/scripts/filters/post_lazyload.js +++ b/scripts/filters/post_lazyload.js @@ -11,5 +11,6 @@ const urlFor = require('hexo-util').url_for.bind(hexo) hexo.extend.filter.register('after_post_render', data => { if (!hexo.theme.config.lazyload.enable) return const bg = hexo.theme.config.lazyload.post ? urlFor(hexo.theme.config.lazyload.post) : 'data:image/gif;base64,R0lGODdhAQABAPAAAMPDwwAAACwAAAAAAQABAAACAkQBADs=' - return data.content.replace(/(