Added OG support
This commit is contained in:
Vendored
+16
-1
@@ -17,12 +17,27 @@ export type PageMetadata = {
|
||||
url: string;
|
||||
}[];
|
||||
locale?: string;
|
||||
/** Site/brand name for the OG card. */
|
||||
siteName?: string;
|
||||
title: string;
|
||||
/** 'website' | 'article' etc. Defaults to 'website'. */
|
||||
type?: string;
|
||||
/** Canonical URL of this page. */
|
||||
url?: string;
|
||||
};
|
||||
/** robots directives — set to noindex/follow for legal/thin/search pages. */
|
||||
/**
|
||||
* robots directives. Indexed pages get generous snippet/preview limits by
|
||||
* default (Google shows richer results); noindex pages get index:false.
|
||||
*/
|
||||
robots?: {
|
||||
follow: boolean;
|
||||
index: boolean;
|
||||
/** 'none' | 'standard' | 'large' — image preview size in results. */
|
||||
'max-image-preview'?: 'large' | 'none' | 'standard';
|
||||
/** Max text snippet length; -1 = no limit. Next maps to max-snippet. */
|
||||
'max-snippet'?: number;
|
||||
/** Max video preview seconds; -1 = no limit. */
|
||||
'max-video-preview'?: number;
|
||||
};
|
||||
title: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user