Movatterモバイル変換


[0]ホーム

URL:


Skip to content
API ReferenceFile-system conventionsMetadata Files

Metadata Files API Reference

This section of the docs coversMetadata file conventions. File-based metadata can be defined by adding special metadata files to route segments.

Each file convention can be defined using a static file (e.g.opengraph-image.jpg), or a dynamic variant that uses code to generate the file (e.g.opengraph-image.js).

Once a file is defined, Next.js will automatically serve the file (with hashes in production for caching) and update the relevant head elements with the correct metadata, such as the asset's URL, file type, and image size.

Good to know:

favicon, icon, and apple-icon

API Reference for the Favicon, Icon and Apple Icon file conventions.

manifest.json

API Reference for manifest.json file.

opengraph-image and twitter-image

API Reference for the Open Graph Image and Twitter Image file conventions.

robots.txt

API Reference for robots.txt file.

sitemap.xml

API Reference for the sitemap.xml file.

Was this helpful?

supported.

[8]ページ先頭

©2009-2025 Movatter.jp