Closed DanSnow closed 3 years ago
You can set the priority
directly in the generate.routes
config as follows and it works fine with the sitemap module:
generate: {
routes: [{ url: 'test', priority: 1 }],
},
In addition, you can set a default priority in the sitemap config as below:
sitemap: {
defaults: {
priority: 1,
},
Reproduction link
N/A
Steps to reproduce
I want to set the priority like this with
generate.routes
What is expected ?
The output sitemap.xml will have
priority
fieldWhat is actually happening?
Could not find the
priority
field.Additional comments?
I believe it's because here omits all the properties except the url.