fix(html-minifier): ignore post excerpt tag

https://hexo.io/docs/tag-plugins#Post-Excerpt
This commit is contained in:
weyusi 2019-06-08 17:22:40 +09:30
parent 655f65adcd
commit 0ce066c2fd
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ if (hexo.config.neat_enable === true) {
exclude: [],
collapseBooleanAttributes: true,
collapseWhitespace: true,
// Ignore '<!-- more -->' https://hexo.io/docs/tag-plugins#Post-Excerpt
ignoreCustomComments: [/^\s*more/],
removeComments: true,
removeEmptyAttributes: true,
removeScriptTypeAttributes: true,