From 7570c4f45a0f4e1599ca13982c5a2a9bfb756874 Mon Sep 17 00:00:00 2001 From: prototypa Date: Wed, 17 Aug 2022 22:51:58 -0400 Subject: [PATCH] Fix canonical for post --- 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 fc84a6e..73f3a00 100644 --- a/src/pages/blog/[slug].astro +++ b/src/pages/blog/[slug].astro @@ -18,7 +18,7 @@ const { post } = Astro.props; const title = `${post.title} — ${SITE.name}`; const description = post.description; -const canonical = new URL(`blog/${post.slug}/`, Astro.site); +const canonical = new URL(`blog/${post.slug}`, Astro.site); const images = import.meta.glob("../../assets/images/*");