diff --git a/src/pages/haiku/[...slug].astro b/src/pages/haiku/[...slug].astro
index fc25616..6df325c 100644
--- a/src/pages/haiku/[...slug].astro
+++ b/src/pages/haiku/[...slug].astro
@@ -17,14 +17,14 @@ export async function getStaticPaths() {
params: { slug: entry.slug },
props: {
entry,
- nextPost:
+ next:
index + 1 === numberOfPages ? { slug: null, data: null } : haikuEntries[index + 1],
- prevPost: index === 0 ? {} : haikuEntries[index - 1],
+ prev: index === 0 ? {} : haikuEntries[index - 1],
},
}));
}
-const { entry, prevPost, nextPost } = Astro.props;
+const { entry, prev, next } = Astro.props;
---
@@ -54,9 +54,9 @@ const { entry, prevPost, nextPost } = Astro.props;
diff --git a/src/pages/projects/[...slug].astro b/src/pages/projects/[...slug].astro
index d87e558..10a82f7 100644
--- a/src/pages/projects/[...slug].astro
+++ b/src/pages/projects/[...slug].astro
@@ -20,16 +20,16 @@ export async function getStaticPaths() {
params: { slug: entry.slug },
props: {
entry,
- nextPost:
+ next:
index + 1 === numberOfPages
? { slug: null, data: null }
: projectEntries[index + 1],
- prevPost: index === 0 ? {} : projectEntries[index - 1],
+ prev: index === 0 ? {} : projectEntries[index - 1],
},
}));
}
-const { entry, prevPost, nextPost } = Astro.props;
+const { entry, prev, next } = Astro.props;
const { Content } = await entry.render();
---
@@ -48,9 +48,9 @@ const { Content } = await entry.render();