diff --git a/components/BlogPostCard.js b/components/BlogPostCard.js index ffff6556..b62f4671 100644 --- a/components/BlogPostCard.js +++ b/components/BlogPostCard.js @@ -5,11 +5,11 @@ import React from 'react' const BlogPostCard = ({ post }) => { return ( -
+
{/* 封面图 */} {post.page_cover && post.page_cover.length > 1 && ( - {post.title} + {post.title} )} @@ -24,7 +24,7 @@ const BlogPostCard = ({ post }) => { {post.date.start_date}
{post.tags.map(tag => ())}
-

{post.summary}

+

{post.summary}

) diff --git a/components/BlogPostListScroll.js b/components/BlogPostListScroll.js index fc2c32b0..b286f8c3 100644 --- a/components/BlogPostListScroll.js +++ b/components/BlogPostListScroll.js @@ -72,7 +72,7 @@ const BlogPostListScroll = ({ posts = [], tags, currentSearch, currentCategory, )} {/* 文章列表 */} -
+
{postsToShow.map(post => ( ))}