mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Fix date issue with home page in Sitemap
This commit is contained in:
parent
0053be979a
commit
667a047cea
1 changed files with 1 additions and 0 deletions
|
@ -759,6 +759,7 @@ func (s *Site) RenderSitemap() error {
|
|||
pages := make(Pages, 0)
|
||||
|
||||
page := &Page{}
|
||||
page.Date = s.Info.LastChange
|
||||
page.Site = s.Info
|
||||
page.Url = "/"
|
||||
|
||||
|
|
Loading…
Reference in a new issue