hexo-theme-beantech icon indicating copy to clipboard operation
hexo-theme-beantech copied to clipboard

请问首页文章怎么自定义展示字数呢?

Open grt1st opened this issue 7 years ago • 4 comments

您的这个主题真的非常棒,我很喜欢。 但是在我以前用过的next主题,可以在文章里加入<!--more-->,这个之前的为文章的缩略,之后的就是全文。 举个例子:article.md

--
title: "test"
date: 2017-05-31 22:50:00
catalog: true
header-img: "img/header_img/Iron-Man-3.jpg"
subtitle: "test"
tags:
- hexo
catagories:
- hexo
---
首页展示部分

<!--more-->

正文

## 1.test1

blabla
## 2.test2
blabla

希望您能对这个提供支持。因为这样会显得主页非常简洁。

再次感谢您为我们提供这么优美的主题。

grt1st avatar Jun 01 '17 09:06 grt1st

@grt1st Got it i'll try to finish it :smile: thanks for your suggestion

YenYuHsuan avatar Jun 03 '17 04:06 YenYuHsuan

刚刚又想了一下,将缩略(即想展示在首页的)写在subtitle里也还不错。毕竟因为这个主题的布局,现在这样已经很完美了。再次感谢。

grt1st avatar Jun 03 '17 04:06 grt1st

@grt1st Thanks I think both of the solutions are great, but I still prefer the first one 😛 (<!--more-->). so I'll try to make it work. Glad you guys like it ~~ Thanks again, Peace!

YenYuHsuan avatar Jun 05 '17 03:06 YenYuHsuan

Hi,this feature finished?I think it's very usefully.

TopJohn avatar Jan 03 '19 12:01 TopJohn