-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
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
How to add image tags for static sites? #252
Comments
Hi, I am also interested in this. Please help. |
It's not available directly by configuration. But you can use the {
sitemap: {
filter: ({ routes }) =>
routes.map((route) => {
if (route.url === '/collections') {
route.img = {
url: 'image-url',
title: 'product 1',
}
}
return route
}),
}
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, all the routes under the pages folder are automatically added to the sitemap.xml. I want to add images to sitemap for these routes which are under pages. I don't see an option for static pages, but do see an option for dynamic routes.
Expected
I'm checking to see if there is an option to add the image tag as above for static pages.
The text was updated successfully, but these errors were encountered: