mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
73894cca56
commit
63a6da06d8
1 changed files with 4 additions and 0 deletions
|
@ -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"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue