heo-theme

This commit is contained in:
tangly1024.com
2023-07-12 13:50:14 +08:00
parent 2b58af5fcf
commit ab2dc02719
8 changed files with 28 additions and 44 deletions

View File

@@ -20,7 +20,7 @@ const BlogPostListPage = ({ page = 1, posts = [], postCount, siteInfo }) => {
return (
<div id="container" className='w-full'>
{/* 文章列表 */}
<div className="lg:grid lg:grid-cols-2">
<div className="lg:grid lg:grid-cols-2 gap-5">
{posts?.map(post => (
<BlogPostCard index={posts.indexOf(post)} key={post.id} post={post} siteInfo={siteInfo}/>
))}