From: Bjørn Erik Pedersen Date: Wed, 31 May 2017 09:55:51 +0000 (+0300) Subject: hugolib: Break early from sitemap disabled check X-Git-Tag: v0.22~34 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=89697019;p=brevno-suite%2Fhugo hugolib: Break early from sitemap disabled check See #3544 --- diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go index 1091660e..c028dad4 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 } }