阅读全文截止默认字数修改

设置主题配置文件,修改这一部分:

1
2
3
4
5
# Automatically Excerpt. Not recommend.
# Use <!-- more --> in the post to control excerpt accurately.
auto_excerpt:
enable: false
length: 50

这个length就是默认字数了,当然这是默认做法,还可以用<!--more-->来提高灵活性,主题配置中也提到了。