diff --git a/apps/docs/components/reference/RefSectionHandler.tsx b/apps/docs/components/reference/RefSectionHandler.tsx index 26b3f0350a4..c3f1ab7642f 100644 --- a/apps/docs/components/reference/RefSectionHandler.tsx +++ b/apps/docs/components/reference/RefSectionHandler.tsx @@ -60,6 +60,10 @@ const RefSectionHandler = (props: RefSectionHandlerProps) => { const pageTitle = getPageTitle() const section = props.sections.find((section) => section.slug === slug) const fullTitle = `${pageTitle}${section ? ` - ${section.title}` : ''}` + const path = router.asPath + .split('/') + .filter((segment) => segment !== 'crawlers') + .join('/') return ( <> @@ -72,7 +76,7 @@ const RefSectionHandler = (props: RefSectionHandlerProps) => { content={`https://supabase.com/docs/img/supabase-og-image.png`} /> - + {props.isOldVersion && }