theme-heo-framework

This commit is contained in:
tangly1024
2023-07-11 22:37:23 +08:00
parent 1f4f050e76
commit beb4677145
19 changed files with 193 additions and 345 deletions

View File

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