1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-03-20 14:01:06 +00:00

Fix date issue with home page in Sitemap

This commit is contained in:
Vincent Batoufflet 2014-05-10 10:45:33 +02:00 committed by spf13
parent 0053be979a
commit 667a047cea

View file

@ -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 = "/"