Sanity Library Reference Docs
    Preparing search index...

    Variable metadataConst

    metadata: { referrer: "same-origin"; robots: "noindex" } = ...

    In router segments (/app/studio/[[...index]]/page.tsx):

    // If you don't want to change any defaults you can just re-export the metadata directly:
    export {metadata} from 'next-sanity/studio'

    // To customize the metadata, spread it on the export:
    import {metadata as studioMetadata} from 'next-sanity/studio'
    import type { Metadata } from 'next'

    export const metadata: Metadata = {
    ...studioMetadata,
    // Set another title
    title: 'My Studio',
    })

    Type declaration

    • referrer: "same-origin"
    • robots: "noindex"