一、hexo的auto_excerpt属性
1 | auto_excerpt: |
经过实验,本主题hexo-theme-yun貌似不支持
二、<!-more->注释截断文章
在markdown文章里选择要显示的位置,加入<!--more-->,则只显示前面部分,后面部分要进入文章才显示。
三、 在文章的 front-matter 中添加description属性
hexo官网 front-matter 介绍
1 | title: 首页文章显示部分内容 |
1 | auto_excerpt: |
经过实验,本主题hexo-theme-yun貌似不支持
在markdown文章里选择要显示的位置,加入<!--more-->,则只显示前面部分,后面部分要进入文章才显示。
hexo官网 front-matter 介绍
1 | title: 首页文章显示部分内容 |