Skip to content

Commit

Permalink
Use default sitemap configuration for homepage
Browse files Browse the repository at this point in the history
Fixes #1304
  • Loading branch information
s7anley authored and bep committed Mar 10, 2016
1 parent 0945673 commit be3519f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hugolib/site.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
Expand Down

0 comments on commit be3519f

Please sign in to comment.