The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: reference doc seo
Greg Richardsonb31dd92c7494
diff --git a/apps/docs/components/reference/RefSectionHandler.tsx b/apps/docs/components/reference/RefSectionHandler.tsxindex df5ed1c5700..26b3f0350a4 100644--- a/apps/docs/components/reference/RefSectionHandler.tsx+++ b/apps/docs/components/reference/RefSectionHandler.tsx@@ -58,18 +58,21 @@ const RefSectionHandler = (props: RefSectionHandlerProps) => {}const pageTitle = getPageTitle()+ const section = props.sections.find((section) => section.slug === slug)+ const fullTitle = `${pageTitle}${section ? ` - ${section.title}` : ''}`return (<><Head>- <title>{pageTitle}</title>- <meta name="description" content={pageTitle} />+ <title>{fullTitle}</title>+ <meta name="description" content={section?.title ?? pageTitle} /><meta property="og:image" content={`https://supabase.com/docs/img/supabase-og-image.png`} /><metaname="twitter:image"content={`https://supabase.com/docs/img/supabase-og-image.png`}/><meta name="viewport" content="width=device-width, initial-scale=1.0" />+ <link rel="canonical" href={`https://supabase.com${router.basePath}${router.asPath}`} /></Head>{props.isOldVersion && <OldVersionAlert sections={props.sections} />}<RefSubLayout>