From b2c79ff3950cac0fd0663569eefa9f6f876bb817 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Tue, 31 Jan 2023 01:15:13 +0400 Subject: [PATCH] Fix canonicals on topic pages --- src/pages/[roadmapId]/[...topicId].astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[roadmapId]/[...topicId].astro b/src/pages/[roadmapId]/[...topicId].astro index 6bbb9da57..b7ac1fee2 100644 --- a/src/pages/[roadmapId]/[...topicId].astro +++ b/src/pages/[roadmapId]/[...topicId].astro @@ -30,7 +30,7 @@ const { file, breadcrumbs, roadmapId, roadmap, heading } = Astro.props as Roadma title={`${heading} - roadmap.sh`} description={`Free resources to learn ${heading} in ${roadmap.featuredTitle}. Everything you need to know about ${heading} and how it realtes to ${roadmap.featuredTitle}.`} noIndex={true} - permalink={`/${topicId}`} + permalink={`/${roadmapId}/${topicId}`} >