From 364f6ac2f0dfc67d42f4f4d932a16f09db7a3634 Mon Sep 17 00:00:00 2001 From: Exerra Date: Sat, 19 Nov 2022 19:43:42 +0200 Subject: [PATCH] Fixed [slug].astro not giving correct permalink --- src/pages/blog/[slug].astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/blog/[slug].astro b/src/pages/blog/[slug].astro index 96634c8..043688c 100644 --- a/src/pages/blog/[slug].astro +++ b/src/pages/blog/[slug].astro @@ -14,7 +14,7 @@ export async function getStaticPaths() { const { Content, frontmatter } = Astro.props.post; const { title, description, publishDate } = frontmatter; const { slug, readingTime } = getPostData(Astro.props.post); -const permalink = `${Astro.site.href}${slug}`; +const permalink = `${Astro.site.href}blog/${slug}`; ---