Fields
Metadata has every field of the Next.js type, each one typed (the Metadata type exported from @shadow-js/dusk lists them):
Metadata has every field of the Next.js type, each one typed (the Metadata type exported from @shadow-js/dusk lists them):
- Titles and text:
title(a string, or{ default, template, absolute }),description,applicationName,authors,generator,keywords,referrer,creator,publisher,category,classification. - Robots and alternates:
robots(directives, andgoogleBot),alternates(canonical,languages,media,types),metadataBase. - Icons and manifest:
icons(one URL, a list, oricon,shortcut,apple,other),manifest. - Social cards:
openGraph(everytype:website,article,book,profile,music.*,video.*, with their own fields, andimages,videos,audio),twitter(summary,summary_large_image,app,player). - Platform and verification:
verification(google,yahoo,yandex,me,other),appleWebApp,formatDetection,itunes,facebook,pinterest,appLinks,archives,assets,bookmarks. - Escape hatches:
other(one<meta name>per value) andjsonLd(structured data).
Viewport has width, height, initialScale, minimumScale, maximumScale, userScalable, viewportFit,
interactiveWidget, themeColor and colorScheme. viewportContent() builds the viewport meta from them.