aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/blog
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/blog')
-rw-r--r--src/pages/blog/[...id].astro4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pages/blog/[...id].astro b/src/pages/blog/[...id].astro
index 5cc9eab..d4588e3 100644
--- a/src/pages/blog/[...id].astro
+++ b/src/pages/blog/[...id].astro
@@ -213,6 +213,7 @@ const tocSections = await getTOCSections(currentPostId)
<PostNavigation
newerPost={navigation.newer}
olderPost={navigation.older}
+ baseURL="/blog/"
parentPost={isCurrentSubpost ? navigation.parent : undefined}
/>
</section>
@@ -241,6 +242,7 @@ const tocSections = await getTOCSections(currentPostId)
<PostNavigation
newerPost={navigation.newer}
olderPost={navigation.older}
+ path="blog"
parentPost={isCurrentSubpost ? navigation.parent : undefined}
/>
</section>
@@ -296,4 +298,4 @@ const tocSections = await getTOCSections(currentPostId)
document.addEventListener('astro:page-load', ensureKatexStyles)
document.addEventListener('astro:after-swap', ensureKatexStyles)
-</script> \ No newline at end of file
+</script>