hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 667a047ceaa60f16cb5babc3c7e414b5d64f3804
parent 0053be979a8b9f8b0887d4e2aeb24485a4cdcf3c
Author: Vincent Batoufflet <vincent@batoufflet.info>
Date:   Sat, 10 May 2014 10:45:33 +0200

Fix date issue with home page in Sitemap

Diffstat:
Mhugolib/site.go | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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 = "/"