diff --git a/lib/hexo-excerpt.js b/lib/hexo-excerpt.js index 4ba35a8..0698726 100644 --- a/lib/hexo-excerpt.js +++ b/lib/hexo-excerpt.js @@ -33,7 +33,7 @@ module.exports = function(db) { return db.posts.map(post => { //honour the !!! - if (//.test(post.content)) { + if (//.test(post.content) || post.content.indexOf('') !== -1) { return { path: post.path, data: post,