mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 14:16:06 +00:00
1 parent
73894cca56
commit
63a6da06d8
1 file changed
+4
@@ -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