Fix canonicals on topic pages

pull/3376/head^2
Kamran Ahmed 2 years ago
parent ff16ea542f
commit b2c79ff395
  1. 2
      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}`}
>
<RoadmapBanner roadmapId={roadmapId} roadmap={roadmap} />
<div class='bg-gray-50'>

Loading…
Cancel
Save