We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
images
MetadataRoute.Sitemap
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
https://nextjs.org/docs/app/api-reference/file-conventions/metadata/sitemap#image-sitemaps
states the images but it's not actually valid (by type)
import type { MetadataRoute } from 'next' export default function sitemap(): MetadataRoute.Sitemap { return [ { url: 'https://example.com', lastModified: '2021-01-01', changeFrequency: 'weekly', priority: 0.5, images: ['https://example.com/image.jpg'], }, ] }
Nope. just confusing
The text was updated successfully, but these errors were encountered:
Turns out it's new on next15. (was using 14)
Sorry, something went wrong.
No branches or pull requests
What is the documentation issue?
https://nextjs.org/docs/app/api-reference/file-conventions/metadata/sitemap#image-sitemaps
states the
images
but it's not actually valid (by type)Is there any context that might help us understand?
Nope. just confusing
Does the docs page already exist? Please link to it.
https://nextjs.org/docs/app/api-reference/file-conventions/metadata/sitemap#image-sitemaps
The text was updated successfully, but these errors were encountered: