Better handle project URLs
Some checks failed
Build and Deploy to Web Server / deploy (push) Has been cancelled

This commit is contained in:
2025-08-29 15:02:25 +09:30
parent d0c1319258
commit ce6dffbaf5

View File

@@ -21,7 +21,8 @@ export async function getStaticPaths() {
return projects.map((project) => ({
params: {
slug: `${slugify(project.data.type)}/${slugify(project.data.slug)}`
type: slugify(project.data.type),
slug: slugify(project.data.slug)
},
props: { project }
}));