Open qqpann opened 5 years ago
In sitemap.xml, created time seems to be used as last modified time.
https://gohugo.io/templates/lists/#by-last-modified-date
https://gohugo.io/templates/sitemap-template/#hugo-s-sitemap-xml
https://gohugo.io/variables/git/#lastmod
https://gohugo.io/getting-started/configuration/#configure-dates
[frontmatter] lastmod = ["lastmod", ":fileModTime", ":default"]
sets sitemap.xml correctly.
In sitemap.xml, created time seems to be used as last modified time.