mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-01-17 14:18:17 +01:00
Fix canonical URLs (#7531)
This commit is contained in:
parent
ad2095bcce
commit
029e45c5c0
@ -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:
|
||||
|
@ -60,7 +60,7 @@ const { response: userCounts } =
|
||||
---
|
||||
|
||||
<BaseLayout
|
||||
permalink={`/${roadmapId}`}
|
||||
permalink={`/${roadmapId}/projects`}
|
||||
title={seoTitle}
|
||||
description={seoDescription}
|
||||
briefTitle={roadmapData.briefTitle}
|
||||
|
@ -8,6 +8,7 @@ import { FriendsPage } from '../../components/Friends/FriendsPage';
|
||||
title='Friends'
|
||||
noIndex={true}
|
||||
initialLoadingMessage='Loading friends'
|
||||
permalink="/account/friends"
|
||||
>
|
||||
<AccountSidebar activePageId='friends' activePageTitle='Friends'>
|
||||
<FriendsPage client:only="react" />
|
||||
|
@ -8,6 +8,7 @@ import AccountLayout from '../../layouts/AccountLayout.astro';
|
||||
title='Activity'
|
||||
noIndex={true}
|
||||
initialLoadingMessage={'Loading activity'}
|
||||
permalink="/account"
|
||||
>
|
||||
<AccountSidebar activePageId='activity' activePageTitle='Activity'>
|
||||
<ActivityPage client:only='react' />
|
||||
|
@ -8,6 +8,7 @@ import { RoadCardPage } from '../../components/RoadCard/RoadCardPage';
|
||||
title='Road Card'
|
||||
noIndex={true}
|
||||
initialLoadingMessage='Preparing card'
|
||||
permalink="/account/road-card"
|
||||
>
|
||||
<AccountSidebar activePageId='road-card' activePageTitle='Road Card'>
|
||||
<RoadCardPage client:only="react" />
|
||||
|
@ -8,6 +8,7 @@ import { RoadmapListPage } from '../../components/CustomRoadmap/RoadmapListPage'
|
||||
title='Roadmaps'
|
||||
noIndex={true}
|
||||
initialLoadingMessage='Loading roadmaps'
|
||||
permalink="/account/roadmaps"
|
||||
>
|
||||
<AccountSidebar activePageId='roadmaps' activePageTitle='Roadmaps'>
|
||||
<RoadmapListPage client:only='react' />
|
||||
|
@ -10,6 +10,7 @@ import { ProfileSettingsPage } from '../../components/ProfileSettings/ProfileSet
|
||||
description=''
|
||||
noIndex={true}
|
||||
initialLoadingMessage={'Loading settings'}
|
||||
permalink="/account/settings"
|
||||
>
|
||||
<AccountSidebar activePageId='settings' activePageTitle='Settings'>
|
||||
<ProfileSettingsPage client:load />
|
||||
|
@ -8,6 +8,7 @@ import AccountLayout from '../../layouts/AccountLayout.astro';
|
||||
title='Update Profile'
|
||||
noIndex={true}
|
||||
initialLoadingMessage={'Loading profile'}
|
||||
permalink="/account/update-profile"
|
||||
>
|
||||
<AccountSidebar activePageId='profile' activePageTitle='Profile'>
|
||||
<UpdatePublicProfileForm client:load />
|
||||
|
@ -3,6 +3,6 @@ import { ExploreAIRoadmap } from '../../components/ExploreAIRoadmap/ExploreAIRoa
|
||||
import BaseLayout from '../../layouts/BaseLayout.astro';
|
||||
---
|
||||
|
||||
<BaseLayout title='Explore AI Generated Roadmaps'>
|
||||
<BaseLayout title='Explore AI Generated Roadmaps' permalink="/ai/explore">
|
||||
<ExploreAIRoadmap client:load />
|
||||
</BaseLayout>
|
||||
|
@ -3,6 +3,6 @@ import { GenerateRoadmap } from '../../components/GenerateRoadmap/GenerateRoadma
|
||||
import BaseLayout from '../../layouts/BaseLayout.astro';
|
||||
---
|
||||
|
||||
<BaseLayout title='Roadmap AI'>
|
||||
<BaseLayout title='Roadmap AI' permalink="/ai">
|
||||
<GenerateRoadmap client:load />
|
||||
</BaseLayout>
|
||||
|
@ -25,7 +25,7 @@ const ogImageUrl =
|
||||
<BaseLayout
|
||||
title={replaceVariables(guideData.seo.title)}
|
||||
description={replaceVariables(guideData.seo.description)}
|
||||
permalink={`/backend/languages`}
|
||||
permalink={`/backend/frameworks`}
|
||||
canonicalUrl={guideData.canonicalUrl}
|
||||
ogImageUrl={ogImageUrl}
|
||||
>
|
||||
|
@ -11,7 +11,7 @@ const allChangelogs = await getAllChangelogs();
|
||||
<BaseLayout
|
||||
title='Changelogs'
|
||||
description='Changelogs for the updates and changes to roadmap.sh'
|
||||
permalink='/changelogs'
|
||||
permalink='/changelog'
|
||||
noIndex={true}
|
||||
>
|
||||
<div class='bg-gray-100 px-4'>
|
||||
|
@ -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.';
|
||||
---
|
||||
|
||||
<BaseLayout title={title} description={description}>
|
||||
<BaseLayout title={title} description={description} permalink="/community">
|
||||
<DiscoverRoadmaps client:load />
|
||||
</BaseLayout>
|
||||
|
@ -56,7 +56,7 @@ const enrichedBestPractices = bestPractices.map((bestPractice) => {
|
||||
});
|
||||
---
|
||||
|
||||
<BaseLayout title='Dashboard' noIndex={true}>
|
||||
<BaseLayout title='Dashboard' noIndex={true} permalink="/dashboard">
|
||||
<DashboardPage
|
||||
builtInRoleRoadmaps={enrichedRoleRoadmaps}
|
||||
builtInSkillRoadmaps={enrichedSkillRoadmaps}
|
||||
|
@ -4,7 +4,7 @@ import AccountLayout from '../layouts/AccountLayout.astro';
|
||||
import {AccountTerms} from "../components/AccountTerms";
|
||||
---
|
||||
|
||||
<AccountLayout title='Forgot Password' noIndex={true}>
|
||||
<AccountLayout title='Forgot Password' noIndex={true} permalink="/forgot-password">
|
||||
<div class='container'>
|
||||
<div
|
||||
class='mx-auto flex flex-col items-start justify-start pb-28 pt-10 sm:max-w-[400px] sm:items-center sm:justify-center sm:pt-20'
|
||||
|
@ -37,7 +37,7 @@ import { TipItem } from '../components/GetStarted/TipItem';
|
||||
<BaseLayout
|
||||
title='Developer Roadmaps'
|
||||
description={'Step by step guides and paths to learn different tools or technologies'}
|
||||
permalink={'/roadmaps'}
|
||||
permalink={'/get-started'}
|
||||
>
|
||||
<div class='bg-gradient-to-b from-gray-200 to-white py-4 sm:py-8 md:py-12'>
|
||||
<div class='container'>
|
||||
|
@ -11,7 +11,7 @@ const { response: leaderboardStats, error: leaderboardError } =
|
||||
await leaderboardClient.listLeaderboardStats();
|
||||
---
|
||||
|
||||
<BaseLayout title='Leaderboard'>
|
||||
<BaseLayout title='Leaderboard' permalink="/leaderboard">
|
||||
{leaderboardError && <ErrorPage error={leaderboardError} />}
|
||||
{
|
||||
leaderboardStats && (
|
||||
|
@ -7,7 +7,7 @@ import AccountLayout from '../layouts/AccountLayout.astro';
|
||||
<AccountLayout
|
||||
title='Login - roadmap.sh'
|
||||
description='Register yourself to receive occasional emails about new roadmaps, updates, guides and videos'
|
||||
permalink={'/signup'}
|
||||
permalink={'/login'}
|
||||
noIndex={true}
|
||||
>
|
||||
<div class='container'>
|
||||
|
@ -2,6 +2,7 @@
|
||||
layout: ../layouts/MarkdownLayout.astro
|
||||
title: Privacy Policy - roadmap.sh
|
||||
noIndex: true
|
||||
permalink: /privacy
|
||||
---
|
||||
|
||||
# Privacy Policy
|
||||
|
@ -37,7 +37,7 @@ const githubUrl = `https://github.com/kamranahmedse/developer-roadmap/tree/maste
|
||||
---
|
||||
|
||||
<BaseLayout
|
||||
permalink={`/projects/${projectId}`}
|
||||
permalink={`/projects/${projectId}/solutions`}
|
||||
title={projectData?.seo?.title}
|
||||
briefTitle={projectData.title}
|
||||
ogImageUrl={ogImageUrl}
|
||||
|
@ -10,7 +10,7 @@ const questionGroups = await getAllQuestionGroups();
|
||||
<BaseLayout
|
||||
title='Questions'
|
||||
description={'Step by step guides and paths to learn different tools or technologies'}
|
||||
permalink={'/roadmaps'}
|
||||
permalink={'/questions'}
|
||||
>
|
||||
<SimplePageHeader
|
||||
title='Questions'
|
||||
|
@ -56,7 +56,7 @@ const enrichedBestPractices = bestPractices.map((bestPractice) => {
|
||||
});
|
||||
---
|
||||
|
||||
<BaseLayout title='Dashboard' noIndex={true}>
|
||||
<BaseLayout title='Team' noIndex={true} permalink="/team">
|
||||
<DashboardPage
|
||||
builtInRoleRoadmaps={enrichedRoleRoadmaps}
|
||||
builtInSkillRoadmaps={enrichedSkillRoadmaps}
|
||||
|
@ -2,6 +2,7 @@
|
||||
layout: ../layouts/MarkdownLayout.astro
|
||||
title: Terms and Conditions - roadmap.sh
|
||||
noIndex: true
|
||||
permalink: /terms
|
||||
---
|
||||
|
||||
# Terms of Service
|
||||
|
Loading…
x
Reference in New Issue
Block a user