?
@goxofy 是的,markdown 里 加上个这串,默认就只会显示 <!--more--> 之上的内容了
或者,在 markdown 头部的 Front-matter 里面加入 description 字段。优先会使用 description 字段的内容。
没懂
实现如这个主题的 Readme 样式是否方便? http://litten.github.io
You can find the key 'auto_excerpt:' in _config.yml of next's theme.Then set enable true,length express the length of abstract.After setting like this:
auto_excerpt:
enable: true
length: 150
@zsmlinux I don't understand ur mean.
为什么我在 文章.md 中加入之后,在首页起作用了,点击阅读全文后,以下的内容也不会显示了
测试之后发现<!--more--> 好使,刚好就是需要这样的东西 ,description 的话字数太少了
<!--more--> 正解
@kuyeduwu 这个要放在哪里呢?如何使用呢?
@chenHongbin 直接在博客里面写就行了,这样在列表里面就能看到,


@chenHongbin 在用文本编辑器编辑文章正文的时候直接使用就行,楼上的图片更直观。
我本来可以加这行显示阅读全文的, 下了个插件然后就用不了了, 因为那个插件好像要删除原装 markdown 怎么重装 hexo markdown呢

为什么我的分类数量明明是1个,缺显示“共有分类5个“呢
你好,很抱歉我也不太清楚为什么会这样显示。
2017年7月5日 20:09,"TodLorry" notifications@github.com写道:
[image: 2017-07-05 7 52 58]
https://user-images.githubusercontent.com/12815340/27863679-de08f02a-61bd-11e7-9730-67339a3a65d3.png
为什么我的分类数量明明是1个,缺显示“共有分类5个“呢
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/iissnan/hexo-theme-next/issues/62#issuecomment-313084427,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbbYDb8UUfTKIfU5a_9wru_S6b_5Psy0ks5sK30WgaJpZM4DzAUl
.
@nlpjoe I don't think it works well, cause it will display some code not naturally, the
will be the best answer in here.
<!--more-->
is the best answer
is the best answer
Yes, it is.
前面各位提到的方法都试过了,个人认为最好用的还是在文章的合适位置添加锚点这种方法,不过有一点需要注意的是,必须将主题目录下配置文件里的scroll_to_more这个选项设置为false,这样当用户点击阅读全文时,可以跳转到全文的开始位置,而不是直接跳到我们所设置的锚点所在的位置,个人感觉这样可以给读者更好的阅读体验,推荐大家使用。感谢 @CallMeSirLiu
如果想截断文章,在首页显示文章摘录,可以试试在主题配置文件_config.yml中添加:
auto_excerpt:
enable: true
length: 150 #默认截取的长度为 150 字符
已经试过了,很好用
配置文件配置后不行,文章中用 也不行,奇怪了
auto_excerpt:
enable: true
length: 150
NexT is rebased into organization repo.
If you want new feature, please, close this issue and create new in NexT v6.x repo.
There is instructions on English or Chinese how to update from v5.1.x to v 6.0.x
You also may read this for details.
前面各位提到的方法都试过了,个人认为最好用的还是在文章的合适位置添加锚点这种方法,不过有一点需要注意的是,必须将主题目录下配置文件里的scroll_to_more这个选项设置为false,这样当用户点击阅读全文时,可以跳转到全文的开始位置,而不是直接跳到我们所设置的锚点所在的位置,个人感觉这样可以给读者更好的阅读体验,推荐大家使用。感谢 @CallMeSirLiu
正好需要这个设置~Thanks a lot~!
Most helpful comment
You can find the key 'auto_excerpt:' in _config.yml of next's theme.Then set enable true,length express the length of abstract.After setting like this:
auto_excerpt:
enable: true
length: 150