Next主题 SEO

This commit is contained in:
tangly1024.com
2024-01-31 18:45:11 +08:00
parent eced20bfe7
commit 765ba1cb25
21 changed files with 88 additions and 89 deletions

View File

@@ -21,8 +21,8 @@ const BlogPostListPage = ({ page = 1, posts = [], postCount }) => {
<div>
{/* 文章列表 */}
<div id="posts-wrapper" className="flex flex-wrap lg:space-y-4 space-y-1">
{posts?.map(post => (
<BlogPostCard key={post.id} post={post} />
{posts?.map((post, index) => (
<BlogPostCard key={post.id} index={index} post={post} />
))}
</div>
<PaginationNumber page={page} totalPage={totalPage} />