mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
@@ -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"))
|
||||
|
||||
|
Reference in New Issue
Block a user