diff --git a/themes/gitbook/components/BlogPostCard.js b/themes/gitbook/components/BlogPostCard.js index 4dcd9686..04cf47c0 100644 --- a/themes/gitbook/components/BlogPostCard.js +++ b/themes/gitbook/components/BlogPostCard.js @@ -6,13 +6,12 @@ const BlogPostCard = ({ post, className }) => { const router = useRouter() const currentSelected = router.asPath.split('?')[0] === '/' + post.slug return ( -
+
- - {post.title} - + {post.title}
+ ) } diff --git a/themes/gitbook/components/NavPostList.js b/themes/gitbook/components/NavPostList.js index 58b894d8..6ad7fd94 100644 --- a/themes/gitbook/components/NavPostList.js +++ b/themes/gitbook/components/NavPostList.js @@ -56,7 +56,7 @@ const NavPostList = (props) => { if (!groupedArray || groupedArray.length === 0) { return } else { - return
+ return
{/* 文章列表 */} {groupedArray?.map((group, index) => )}