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
+1 -1
View File
@@ -11,7 +11,7 @@ export async function getStaticPaths() {
const posts = await getCollection("blog", ({ data }) => !data.draft);
const postResult = posts.map(post => ({
params: { slug: post.slug },
params: { slug: post.id },
props: { post },
}));