diff --git a/components/BlogPostCard.js b/components/BlogPostCard.js index b62f4671..a1d880f6 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 b286f8c3..37da3960 100644 --- a/components/BlogPostListScroll.js +++ b/components/BlogPostListScroll.js @@ -51,7 +51,7 @@ const BlogPostListScroll = ({ posts = [], tags, currentSearch, currentCategory, if (!postsToShow || postsToShow.length === 0) { return } else { - return
+ return
{currentCategory && (
diff --git a/pages/search.js b/pages/search.js index b7095202..5c7aa49c 100644 --- a/pages/search.js +++ b/pages/search.js @@ -44,6 +44,8 @@ const Search = ({ posts, tags, meta, categories }) => {
+ {/* 标签栏留白 */} +