diff --git a/lib/filter.js b/lib/filter.js index a24f8be..a66b3fc 100644 --- a/lib/filter.js +++ b/lib/filter.js @@ -10,7 +10,7 @@ var minimatch = require('minimatch'); function logic_html(str, data) { var hexo = this, - options = hexo.config.html_minifier; + options = hexo.config.neat_html; // Return if disabled. if (false === options.enable) return; @@ -33,7 +33,7 @@ function logic_html(str, data) { function logic_css(str, data) { var hexo = this, - options = hexo.config.css_minifier; + options = hexo.config.neat_css; // Return if disabled. if (false === options.enable) return; @@ -60,7 +60,7 @@ function logic_css(str, data) { function logic_js(str, data) { var hexo = this, - options = hexo.config.js_minifier; + options = hexo.config.neat_js; // Return if disabled. if (false === options.enable) return;