...
 
Commits (2)
......@@ -12,7 +12,6 @@ run-test:
- cp run-hexo.sh test-dir/
# scripts
- mkdir test-dir/scripts
- cp rm-filter.js test-dir/scripts/
# posts
- cd test-dir
- git clone https://github.com/jiangtj-lab/hexo-many-posts.git --depth=1 --quiet source/_posts/skk
......
// Fix large blog rendering OOM
const postHtmlFilter = hexo.extend.filter.list()['after_render:html'];
for (let filter of postHtmlFilter) {
if (filter.name === 'hexoMetaGeneratorInject') {
hexo.extend.filter.unregister('after_render:html', filter);
}
}