build!: upgrade Astro to v5 and related packages

This commit is contained in:
satnaing
2025-02-08 18:49:12 +07:00
committed by Sat Naing
parent 1d7b6da440
commit cc936ca5e4
12 changed files with 1654 additions and 1960 deletions
+2 -2
View File
@@ -69,8 +69,8 @@ const MonthMap: Record<string, string> = {
new Date(a.data.pubDatetime).getTime() / 1000
)
)
.map(({ data, slug }) => (
<Card href={`/posts/${slug}`} frontmatter={data} />
.map(({ data, id }) => (
<Card href={`/posts/${id}`} frontmatter={data} />
))}
</ul>
</div>