From e8392ee03363e3de431cd299273f551eadedb13a Mon Sep 17 00:00:00 2001 From: tangly Date: Sun, 7 Nov 2021 10:03:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=8D=A1=E7=89=8C=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/BlogPostCard.js | 6 +++--- components/BlogPostListScroll.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 => ( ))}