mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 23:55:20 +00:00
Prevent search indexation for now
This commit is contained in:
@@ -73,6 +73,7 @@ export async function generateMetadata({ params }: { params: PagePathParams }):
|
||||
openGraph: {
|
||||
images: [customization.socialPreview.url ?? `.gitbook/ogimage/${page.id}`],
|
||||
},
|
||||
robots: space.visibility === 'public' ? 'index, follow' : 'noindex, nofollow',
|
||||
// TODO: remove once the development is finished
|
||||
robots: space.visibility === 'public' && 0 ? 'index, follow' : 'noindex, nofollow',
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user