diff --git a/website/src/theme/Root.tsx b/website/src/theme/Root.tsx index e88c4d1..395893f 100644 --- a/website/src/theme/Root.tsx +++ b/website/src/theme/Root.tsx @@ -6,7 +6,6 @@ import { DEVEX_SESSIONS_ENABLED } from "@site/src/components/MeetupReminderButto export default function Root({ children }: { children: ReactNode }) { const { siteConfig } = useDocusaurusContext(); - const siteUrl = siteConfig.url; useEffect(() => { // Minimal MutationObserver to fix any black text in search dropdown that CSS might miss @@ -47,7 +46,10 @@ export default function Root({ children }: { children: ReactNode }) { - + {/* No canonical link here on purpose. Docusaurus emits a per-page + for every route from siteConfig.url, and a + hard-coded one in Root — as this file used to have — replaces that + with the site root, telling crawlers every page duplicates "/". */} {children} {DEVEX_SESSIONS_ENABLED ? : null}