sitemap-plugin
sitemap-plugin copied to clipboard
Priority for static routes
Hi!
Thanks for this very useful plugin!
While setting up my static pages, I realized that the default priority for this provider is 0.3. That seemed a bit low to me, especially for instance in the case of a home page.
Would it be possible to leave 0.3 as a default and allow customizing the priority per route in the configuration?
Thanks!
Hi @Leobaillard! Yes, that would be a nice feature, to have this configurable. Either via the config and/or service declaration, or via a public method in the provider.. I'm not sure what is the best way yet, but I'm open to a PR with a nice solution. Would you be able to provide a PR?
I would indeed. In fact, I've already implemented a working solution in a fork. I'll create a PR from that.