diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-05-31 12:55:51 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-05-31 12:55:51 +0300 |
commit | 896970196780778ad5240fcc178b3be4d6a6876c (patch) | |
tree | 7621dbbfd16fd02cf500dd02c84e37eaa5ffdfb7 /hugolib | |
parent | 69d92dc49cb8ab9276ab013d427ba2d9aaf9135d (diff) |
hugolib: Break early from sitemap disabled check
See #3544
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/hugo_sites.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go index 1091660e7..c028dad4a 100644 --- a/hugolib/hugo_sites.go +++ b/hugolib/hugo_sites.go @@ -273,6 +273,7 @@ func (h *HugoSites) renderCrossSitesArtifacts() error { for _, s := range h.Sites { if s.isEnabled(kindSitemap) { sitemapEnabled = true + break } } |