diff --git a/src/lib/components/singletons/PrevNextPost.svelte b/src/lib/components/singletons/PrevNextPost.svelte
new file mode 100644
index 0000000..b01b50d
--- /dev/null
+++ b/src/lib/components/singletons/PrevNextPost.svelte
@@ -0,0 +1,90 @@
+
+
+
+
+ {#if nextPost}
+
{nextPost.title}
+
+ {:else}
+
You're up to date. More to come soon!
+ {/if}
+
+
+
+ {#if prevPost}
+
{prevPost.title}
+
+ {:else}
+
You are reading our first post.
+ {/if}
+
+
+
+
diff --git a/src/routes/(blog-article)/+layout.server.ts b/src/routes/(blog-article)/+layout.server.ts
index 2ac7449..bd6a2a5 100644
--- a/src/routes/(blog-article)/+layout.server.ts
+++ b/src/routes/(blog-article)/+layout.server.ts
@@ -6,6 +6,7 @@ export async function load({ url }: { url: { pathname: string } }) {
const post = filteredPosts.find((post) => post.slug === slug);
return {
- post
+ post,
+ allPosts: filteredPosts
};
}
diff --git a/src/routes/(blog-article)/+layout.svelte b/src/routes/(blog-article)/+layout.svelte
index 5fe1b1b..cdffdd0 100644
--- a/src/routes/(blog-article)/+layout.svelte
+++ b/src/routes/(blog-article)/+layout.svelte
@@ -1,4 +1,5 @@