Hexo自动摘要

安装 hexo-excerpt 插件:

1
npm install hexo-excerpt --save

在站点配置文件中添加以下配置:

1
2
3
4
5
excerpt:
depth: 5
excerpt_excludes: []
more_excludes: []
hideWholePostExcerpts: true