From: Vincent Batoufflet Date: Sat, 10 May 2014 08:45:33 +0000 (+0200) Subject: Fix date issue with home page in Sitemap X-Git-Tag: v0.11~35 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=667a047ceaa60f16cb5babc3c7e414b5d64f3804;p=brevno-suite%2Fhugo Fix date issue with home page in Sitemap --- diff --git a/hugolib/site.go b/hugolib/site.go index 839c87e7..1a4f785d 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -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 = "/"