hexo-theme blog-card

This commit is contained in:
tangly1024
2023-03-08 20:41:52 +08:00
parent 556c518ea7
commit 6033d08890
3 changed files with 6 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ const BlogPostListPage = ({ page = 1, posts = [], postCount, siteInfo }) => {
{/* 文章列表 */}
<div className="space-y-6 px-2">
{posts.map(post => (
<BlogPostCard key={post.id} post={post} index={posts.indexOf(post)} siteInfo={siteInfo}/>
<BlogPostCard key={post.id} post={post} siteInfo={siteInfo}/>
))}
</div>
{showPagination && <PaginationNumber page={page} totalPage={totalPage} />}