mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Set s.Info.LastChange to Lastmod
Set sitemap.xml <lastmod> field to Lastmod. See #733
This commit is contained in:
@@ -697,7 +697,7 @@ func (s *Site) BuildSiteMeta() (err error) {
|
||||
|
||||
s.assembleTaxonomies()
|
||||
s.assembleSections()
|
||||
s.Info.LastChange = s.Pages[0].Date
|
||||
s.Info.LastChange = s.Pages[0].Lastmod
|
||||
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user