summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pages/blogs/[...slug].astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/blogs/[...slug].astro b/src/pages/blogs/[...slug].astro
index dbd6b80..15e9f3d 100644
--- a/src/pages/blogs/[...slug].astro
+++ b/src/pages/blogs/[...slug].astro
@@ -41,7 +41,7 @@ const nextBlog = sortedBlogs[currentIndex - 1] || undefined;
previousBlog ? (
<TerminalBorder header="Previous Blog">
<span class="text-[var(--secondary)] truncate flex-1">
- <Link href={previousBlog.slug} newTab={false}>
+ <Link href=`/blogs/${previousBlog.slug}` newTab={false}>
vim ~/blogs/{previousBlog.slug}.md
</Link>
</span>
@@ -55,7 +55,7 @@ const nextBlog = sortedBlogs[currentIndex - 1] || undefined;
<TerminalBorder header="Next Blog">
<div class="w-full flex items-center">
<span class="text-[var(--secondary)] truncate flex-1">
- <Link href={nextBlog.slug} newTab={false}>
+ <Link href=`/blogs/${nextBlog.slug}` newTab={false}>
vim ~/blogs/{nextBlog.slug}.md
</Link>
</span>