From 7a10b9d0d479381e6f479251938b107254444d68 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 18 Oct 2024 22:35:49 +0100 Subject: [PATCH] Fix canonical URLs --- src/data/guides/consistency-patterns-in-distributed-systems.md | 1 - src/pages/[roadmapId]/projects.astro | 2 +- src/pages/account/friends.astro | 1 + src/pages/account/index.astro | 1 + src/pages/account/road-card.astro | 1 + src/pages/account/roadmaps.astro | 1 + src/pages/account/settings.astro | 1 + src/pages/account/update-profile.astro | 1 + src/pages/ai/explore.astro | 2 +- src/pages/ai/index.astro | 2 +- src/pages/backend/frameworks.astro | 2 +- src/pages/changelog.astro | 2 +- src/pages/community.astro | 2 +- src/pages/dashboard.astro | 2 +- src/pages/forgot-password.astro | 2 +- src/pages/get-started.astro | 2 +- src/pages/leaderboard.astro | 2 +- src/pages/login.astro | 2 +- src/pages/privacy.md | 1 + src/pages/projects/[projectId]/solutions.astro | 2 +- src/pages/questions/index.astro | 2 +- src/pages/team/index.astro | 2 +- src/pages/terms.md | 1 + 23 files changed, 22 insertions(+), 15 deletions(-) diff --git a/src/data/guides/consistency-patterns-in-distributed-systems.md b/src/data/guides/consistency-patterns-in-distributed-systems.md index 1f8f5ee2a..821879133 100644 --- a/src/data/guides/consistency-patterns-in-distributed-systems.md +++ b/src/data/guides/consistency-patterns-in-distributed-systems.md @@ -6,7 +6,6 @@ seo: title: 'Consistency Patterns - roadmap.sh' description: 'Everything you need to know about Week, Strong and Eventual Consistency' isNew: false -canonicalUrl: 'https://cs.fyi/guide/consistency-patterns-week-strong-eventual/' type: 'textual' date: 2023-01-18 sitemap: diff --git a/src/pages/[roadmapId]/projects.astro b/src/pages/[roadmapId]/projects.astro index 78ed00e9b..6f606499a 100644 --- a/src/pages/[roadmapId]/projects.astro +++ b/src/pages/[roadmapId]/projects.astro @@ -60,7 +60,7 @@ const { response: userCounts } = --- diff --git a/src/pages/account/index.astro b/src/pages/account/index.astro index 08fc68c2a..823ef6a45 100644 --- a/src/pages/account/index.astro +++ b/src/pages/account/index.astro @@ -8,6 +8,7 @@ import AccountLayout from '../../layouts/AccountLayout.astro'; title='Activity' noIndex={true} initialLoadingMessage={'Loading activity'} + permalink="/account" > diff --git a/src/pages/account/road-card.astro b/src/pages/account/road-card.astro index afa7993c9..48c3e2274 100644 --- a/src/pages/account/road-card.astro +++ b/src/pages/account/road-card.astro @@ -8,6 +8,7 @@ import { RoadCardPage } from '../../components/RoadCard/RoadCardPage'; title='Road Card' noIndex={true} initialLoadingMessage='Preparing card' + permalink="/account/road-card" > diff --git a/src/pages/account/roadmaps.astro b/src/pages/account/roadmaps.astro index 8ba006ed6..bea17e7e6 100644 --- a/src/pages/account/roadmaps.astro +++ b/src/pages/account/roadmaps.astro @@ -8,6 +8,7 @@ import { RoadmapListPage } from '../../components/CustomRoadmap/RoadmapListPage' title='Roadmaps' noIndex={true} initialLoadingMessage='Loading roadmaps' + permalink="/account/roadmaps" > diff --git a/src/pages/account/settings.astro b/src/pages/account/settings.astro index 6e96fcfcb..dc52edd64 100644 --- a/src/pages/account/settings.astro +++ b/src/pages/account/settings.astro @@ -10,6 +10,7 @@ import { ProfileSettingsPage } from '../../components/ProfileSettings/ProfileSet description='' noIndex={true} initialLoadingMessage={'Loading settings'} + permalink="/account/settings" > diff --git a/src/pages/account/update-profile.astro b/src/pages/account/update-profile.astro index 1f8038613..6e84eaa4e 100644 --- a/src/pages/account/update-profile.astro +++ b/src/pages/account/update-profile.astro @@ -8,6 +8,7 @@ import AccountLayout from '../../layouts/AccountLayout.astro'; title='Update Profile' noIndex={true} initialLoadingMessage={'Loading profile'} + permalink="/account/update-profile" > diff --git a/src/pages/ai/explore.astro b/src/pages/ai/explore.astro index 0c5eb0406..eccc47aa3 100644 --- a/src/pages/ai/explore.astro +++ b/src/pages/ai/explore.astro @@ -3,6 +3,6 @@ import { ExploreAIRoadmap } from '../../components/ExploreAIRoadmap/ExploreAIRoa import BaseLayout from '../../layouts/BaseLayout.astro'; --- - + diff --git a/src/pages/ai/index.astro b/src/pages/ai/index.astro index 78e003282..c2c7c1e6d 100644 --- a/src/pages/ai/index.astro +++ b/src/pages/ai/index.astro @@ -3,6 +3,6 @@ import { GenerateRoadmap } from '../../components/GenerateRoadmap/GenerateRoadma import BaseLayout from '../../layouts/BaseLayout.astro'; --- - + diff --git a/src/pages/backend/frameworks.astro b/src/pages/backend/frameworks.astro index 2d2e34d5d..de8ee1b6b 100644 --- a/src/pages/backend/frameworks.astro +++ b/src/pages/backend/frameworks.astro @@ -25,7 +25,7 @@ const ogImageUrl = diff --git a/src/pages/changelog.astro b/src/pages/changelog.astro index 4a426e9b3..f3078bcde 100644 --- a/src/pages/changelog.astro +++ b/src/pages/changelog.astro @@ -11,7 +11,7 @@ const allChangelogs = await getAllChangelogs();
diff --git a/src/pages/community.astro b/src/pages/community.astro index 17103850b..4cb0c529a 100644 --- a/src/pages/community.astro +++ b/src/pages/community.astro @@ -7,6 +7,6 @@ const description = 'Explore the community-created roadmaps to learn new skills, tools, and technologies. You can also create your own roadmap and share it with the world.'; --- - + diff --git a/src/pages/dashboard.astro b/src/pages/dashboard.astro index 0d6752e46..274847054 100644 --- a/src/pages/dashboard.astro +++ b/src/pages/dashboard.astro @@ -56,7 +56,7 @@ const enrichedBestPractices = bestPractices.map((bestPractice) => { }); --- - + +
diff --git a/src/pages/leaderboard.astro b/src/pages/leaderboard.astro index c7bf8f95f..bbaa37de3 100644 --- a/src/pages/leaderboard.astro +++ b/src/pages/leaderboard.astro @@ -11,7 +11,7 @@ const { response: leaderboardStats, error: leaderboardError } = await leaderboardClient.listLeaderboardStats(); --- - + {leaderboardError && } { leaderboardStats && ( diff --git a/src/pages/login.astro b/src/pages/login.astro index f14e827dd..6ae2e05f9 100644 --- a/src/pages/login.astro +++ b/src/pages/login.astro @@ -7,7 +7,7 @@ import AccountLayout from '../layouts/AccountLayout.astro';
diff --git a/src/pages/privacy.md b/src/pages/privacy.md index 16cc0dca7..d8fad76f3 100644 --- a/src/pages/privacy.md +++ b/src/pages/privacy.md @@ -2,6 +2,7 @@ layout: ../layouts/MarkdownLayout.astro title: Privacy Policy - roadmap.sh noIndex: true +permalink: /privacy --- # Privacy Policy diff --git a/src/pages/projects/[projectId]/solutions.astro b/src/pages/projects/[projectId]/solutions.astro index 15b980730..5d0b821a8 100644 --- a/src/pages/projects/[projectId]/solutions.astro +++ b/src/pages/projects/[projectId]/solutions.astro @@ -37,7 +37,7 @@ const githubUrl = `https://github.com/kamranahmedse/developer-roadmap/tree/maste --- { }); --- - +