diff --git a/src/pages/series/[id].astro b/src/pages/series/[id].astro index f05d37c4..44723c50 100644 --- a/src/pages/series/[id].astro +++ b/src/pages/series/[id].astro @@ -5,7 +5,7 @@ export async function getStaticPaths() { const seriess = await getCollection("seriess"); return seriess.map((series) => ({ - params: { id: seriess[0]?.id }, + params: { id: seriess.title }, props: { series }, })); }