Payload now fully exposes Next.js' metadata options. You can now use the `admin.meta` config to set any properties that Next.js supports and Payload will inject them into its `generateMetadata` function call. The `MetaConfig` provided by Payload now directly extends the `Metadata` type from Next.js. Although `admin.meta` has always been available, it only supported a subset of options, such as `title`, `openGraph`, etc., but was lacking properties like `robots`, etc.
3.7 KiB
3.7 KiB