1:使用npm安装hexo-excerpt
npm install hexo-excerpt --save
2:在站点配置文件中添加
excerpt: depth: 5 excerpt_excludes: [] more_excludes: [] hideWholePostExcerpts: true
npm install hexo-excerpt --save
excerpt: depth: 5 excerpt_excludes: [] more_excludes: [] hideWholePostExcerpts: true