diff --git a/src/pages/experience/[id].astro b/src/pages/experience/[id].astro index bb3b791..152ccf3 100644 --- a/src/pages/experience/[id].astro +++ b/src/pages/experience/[id].astro @@ -6,7 +6,7 @@ export async function getStaticPaths() { const experiences = await getCollection('experiences'); return experiences.map(experience => ({ params: {id: experience.id}, - props: {project: experience}, + props: {experience: experience}, })); } // 2. For your template, you can get the entry directly from the prop