diff --git a/components/BlogPostCard.js b/components/BlogPostCard.js index 27c50b17..ffff6556 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} )} diff --git a/components/BlogPostListScroll.js b/components/BlogPostListScroll.js index 423ee6c0..fc2c32b0 100644 --- a/components/BlogPostListScroll.js +++ b/components/BlogPostListScroll.js @@ -72,7 +72,7 @@ const BlogPostListScroll = ({ posts = [], tags, currentSearch, currentCategory, )} {/* 文章列表 */} -
+
{postsToShow.map(post => ( ))}