shithub: hugo

Download patch

ref: 896970196780778ad5240fcc178b3be4d6a6876c
parent: 69d92dc49cb8ab9276ab013d427ba2d9aaf9135d
author: Bjørn Erik Pedersen <[email protected]>
date: Wed May 31 08:55:51 EDT 2017

hugolib: Break early from sitemap disabled check

See #3544

--- a/hugolib/hugo_sites.go
+++ b/hugolib/hugo_sites.go
@@ -273,6 +273,7 @@
 	for _, s := range h.Sites {
 		if s.isEnabled(kindSitemap) {
 			sitemapEnabled = true
+			break
 		}
 	}