mirror of https://github.com/curbengh/hexo-yam
fix(html-minifier): ignore post excerpt tag
https://hexo.io/docs/tag-plugins#Post-Excerpt
This commit is contained in:
parent
655f65adcd
commit
0ce066c2fd
2
index.js
2
index.js
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue