Sitemap is missing lastmod values
andersme opened this issue · comments
Is there a way to get the generated sitemap to include the lastmod values?
I came across this ticket when I noticed the same thing about my site generated with Statiq. I'm not sure if this is "the right" answer or not, but after a bit of spelunking through the code I did make it work. If this is still an issue for you @andersme, perhaps this post might offer some help?
I came across this ticket when I noticed the same thing about my site generated with Statiq. I'm not sure if this is "the right" answer or not, but after a bit of spelunking through the code I did make it work. If this is still an issue for you @andersme, perhaps this post might offer some help?
That is exactly what I'm looking for. I'll try it out. Thanks for the help!
The fix above does work perfectly. I think this should be the default behavior.
Awesome. Glad to hear that's helped you solve your problem.
I'll have a think about a suitable PR for the change, and see if the maintainers want to accept that.