File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
packages/gitbook/src/components/SitePage Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,9 @@ export async function generateSitePageMetadata(props: SitePageProps): Promise<Me
184184 languages : alternates ?. languages ,
185185 types : {
186186 'text/markdown' : `${ linker . toAbsoluteURL ( linker . toPathInSpace ( page . path ) ) } .md` ,
187+ // Currently it will output with an empty "type" like <link rel="alternate" href="..." type />
188+ // Team at Vercel is aware of this and will ensure it will be omitted when the value is empty in future versions of Next.js
189+ // https://gitbook.slack.com/archives/C04K6MV5W1K/p1763034072958419?thread_ts=1762937203.511629&cid=C04K6MV5W1K
187190 ...( alternates ?. generic ? { '' : alternates ?. generic } : { } ) ,
188191 } ,
189192 } ,
You can’t perform that action at this time.
0 commit comments