lazyload = htmlContent => {
  if (hexo.theme.config.lazyload.native) {
    return htmlContent.replace(/(<img.*?)(>)/ig, '$1 loading=\'lazy\'$2')
  }

  const bg = hexo.theme.config.lazyload.placeholder ? urlFor(hexo.theme.config.lazyload.placeholder) : 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'
  return htmlContent.replace(/(<img.*? src=)/ig, `$1 "${bg}" data-lazy-src=`)
}
Butterfly
lazyload
replace src to data-lazy-src