From: Ján Koščo <3k.stanley@gmail.com> Date: Tue, 8 Mar 2016 20:34:08 +0000 (+0100) Subject: Use default sitemap configuration for homepage X-Git-Tag: v0.16~269 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=be3519fa;p=brevno-suite%2Fhugo Use default sitemap configuration for homepage Fixes #1304 --- diff --git a/hugolib/site.go b/hugolib/site.go index cee614d8..96bd1b4d 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1838,6 +1838,8 @@ func (s *Site) RenderSitemap() error { page.Lastmod = s.Info.LastChange page.Site = &s.Info page.URL = "/" + page.Sitemap.ChangeFreq = sitemapDefault.ChangeFreq + page.Sitemap.Priority = sitemapDefault.Priority pages = append(pages, page) pages = append(pages, s.Pages...)