Commit cc4dced1 authored by JiangTJ's avatar JiangTJ 😋

Rm rm-filter.js

parent f32ca857
Pipeline #89421991 passed with stage
in 8 minutes and 37 seconds
......@@ -14,7 +14,6 @@ run-test:
- cp run-hexo.sh test-dir/
# scripts
- mkdir test-dir/scripts
- cp rm-filter.js test-dir/scripts/
- mv next/scripts/tags test-dir/scripts/tags
# posts
- cd test-dir
......
// 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);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment