mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
0945673f05
commit
be3519fac0
1 changed files with 2 additions and 0 deletions
|
@ -1838,6 +1838,8 @@ func (s *Site) RenderSitemap() error {
|
||||||
page.Lastmod = s.Info.LastChange
|
page.Lastmod = s.Info.LastChange
|
||||||
page.Site = &s.Info
|
page.Site = &s.Info
|
||||||
page.URL = "/"
|
page.URL = "/"
|
||||||
|
page.Sitemap.ChangeFreq = sitemapDefault.ChangeFreq
|
||||||
|
page.Sitemap.Priority = sitemapDefault.Priority
|
||||||
|
|
||||||
pages = append(pages, page)
|
pages = append(pages, page)
|
||||||
pages = append(pages, s.Pages...)
|
pages = append(pages, s.Pages...)
|
||||||
|
|
Loading…
Reference in a new issue