From f17ff2064cb40122f669b156856d3286bef49a53 Mon Sep 17 00:00:00 2001 From: rozbo <75200306@qq.com> Date: Thu, 26 May 2016 19:46:01 +0800 Subject: [PATCH] repair config --- lib/filter.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;