update astro

This commit is contained in:
Morten Olsen
2025-02-25 14:43:00 +01:00
parent b34cc2f1da
commit 428a7de4a9
28 changed files with 10005 additions and 5944 deletions

View File

@@ -9,7 +9,7 @@ type Props = {
export const getStaticPaths = async () => {
const articles = await data.articles.find()
return articles.map((article) => ({
params: { slug: article.slug },
params: { slug: article.data.slug },
props: { article }
}))
}