'use strict'; if (!hexo.config.lazyload || !hexo.config.lazyload.enable) { return; } if (hexo.config.lazyload.onlypost) { hexo.extend.filter.register('after_post_render', require('./lib/process').processPost); } else { hexo.extend.filter.register('after_render:html', require('./lib/process').processSite); }