diff --git a/themes/hexo/components/BlogPostCard.js b/themes/hexo/components/BlogPostCard.js index 1e60f68a..60b5ba64 100644 --- a/themes/hexo/components/BlogPostCard.js +++ b/themes/hexo/components/BlogPostCard.js @@ -14,17 +14,15 @@ const BlogPostCard = ({ post, showSummary }) => {
- + {post.title}
-
{post.date.start_date} -
{(!showPreview || showSummary) &&

@@ -46,7 +44,6 @@ const BlogPostCard = ({ post, showSummary }) => {

}
- {post.category} @@ -68,7 +65,8 @@ const BlogPostCard = ({ post, showSummary }) => { )} -
+ + ) diff --git a/themes/hexo/config_hexo.js b/themes/hexo/config_hexo.js index 4bf7b8af..ef5c2d02 100644 --- a/themes/hexo/config_hexo.js +++ b/themes/hexo/config_hexo.js @@ -11,7 +11,7 @@ const CONFIG_HEXO = { POST_LIST_COVER: true, // 文章封面 POST_LIST_SUMMARY: true, // 文章摘要 - POST_LIST_PREVIEW: false, // 读取文章预览 + POST_LIST_PREVIEW: true, // 读取文章预览 NAV_TYPE: 'autoCollapse', // ['fixed','autoCollapse','normal'] 分别是固定屏幕顶部、屏幕顶部自动折叠,不固定 WIDGET_TO_TOP: true,