mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
@@ -339,6 +339,10 @@ func (h *HugoSites) render() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if viper.GetBool("DisableSitemap") {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
// TODO(bep) DRY
|
// TODO(bep) DRY
|
||||||
sitemapDefault := parseSitemap(viper.GetStringMap("Sitemap"))
|
sitemapDefault := parseSitemap(viper.GetStringMap("Sitemap"))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user