mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Fix date issue with home page in Sitemap
This commit is contained in:
committed by
spf13
parent
0053be979a
commit
667a047cea
@@ -759,6 +759,7 @@ func (s *Site) RenderSitemap() error {
|
|||||||
pages := make(Pages, 0)
|
pages := make(Pages, 0)
|
||||||
|
|
||||||
page := &Page{}
|
page := &Page{}
|
||||||
|
page.Date = s.Info.LastChange
|
||||||
page.Site = s.Info
|
page.Site = s.Info
|
||||||
page.Url = "/"
|
page.Url = "/"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user