Add missing node build files
This commit is contained in:
@@ -5,7 +5,7 @@ export async function getStaticPaths() {
|
||||
const projects = await getCollection('projects');
|
||||
return projects.map(project => ({
|
||||
params: { id: project.id },
|
||||
props: { post: project },
|
||||
props: { project: project },
|
||||
}));
|
||||
}
|
||||
// 2. For your template, you can get the entry directly from the prop
|
||||
|
||||
Reference in New Issue
Block a user