We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/app/[locale]/offline/layout.tsx
/app/[locale]/(articles)/settings/layout.tsx
/app/[locale]/(articles)/[[...article]]/page.tsx
/app/[locale]/layout.tsx
title
template
default
description
metadataBase
alternates
openGraph
url
siteName
locale
images
robots
icons
themeColor
colorMode
manifest
?locale=
manifest.json
name
short_name
start_url
display
theme_color
background_color
screenshots
Static Metadata ↩
Dynamic Metadata ↩
alternates ↩
Generate images using code (.js, .ts, .tsx) ↩
robots ↩
icons ↩
Web app manifests ↩
screenshots ↩
The text was updated successfully, but these errors were encountered:
GodHermit
When branches are created from issues, their pull requests are automatically linked.
Add metadata for pages
Static Metadata1
/app/[locale]/offline/layout.tsx
/app/[locale]/(articles)/settings/layout.tsx
Dynamic Metadata2
/app/[locale]/(articles)/[[...article]]/page.tsx
/app/[locale]/layout.tsx
Required Metadata Fields
title
template
(only for root layout)default
(only for root layout)description
metadataBase
(only for root layout)alternates
3 - generate alternate URLs for each localeopenGraph
title
- copy of title without templatedescription
- copy of descriptionurl
- urlsiteName
- localized site namelocale
- current localeimages
- generate dynamic images4robots
5icons
6 (only for root layout)themeColor
- preferred color for currentcolorMode
(only for root layout)manifest
- URL with?locale=
search parameter (only for root layout)Required
manifest.json
Fields7name
short_name
start_url
display
theme_color
- copy of thetheme_color
from metadatabackground_color
description
- description of the app itselficons
- copy of theicons
form metadatascreenshots
8Footnotes
Static Metadata ↩
Dynamic Metadata ↩
alternates
↩Generate images using code (.js, .ts, .tsx) ↩
robots
↩icons
↩Web app manifests ↩
screenshots
↩The text was updated successfully, but these errors were encountered: