/* edited from post_lazyload.js in Butterfly theme */ function lazyload(htmlContent) { const config = hexo.theme.config.lazyload if (!config.enable) return const bg = hexo.theme.config.lazyload.placeholder ? urlFor(hexo.theme.config.lazyload.placeholder) : 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7' return htmlContent.replace(/( { return lazyload.call(this, data) })