mirror of
https://github.com/gohugoio/hugo.git
synced 2024-06-30 20:37:30 +00:00
parent
73894cca56
commit
63a6da06d8
|
@ -339,6 +339,10 @@ func (h *HugoSites) render() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
if viper.GetBool("DisableSitemap") {
|
||||
return nil
|
||||
}
|
||||
|
||||
// TODO(bep) DRY
|
||||
sitemapDefault := parseSitemap(viper.GetStringMap("Sitemap"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue