From 0bbdef986d8eecf4fabe9a372e33626dbdfeb36b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 4 May 2018 10:18:45 +0200 Subject: config: Add the foundation for GDPR privacy configuration See #4616 --- hugolib/hugo_sites_build.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hugolib/hugo_sites_build.go') diff --git a/hugolib/hugo_sites_build.go b/hugolib/hugo_sites_build.go index e1e4a6056..e22aabfc5 100644 --- a/hugolib/hugo_sites_build.go +++ b/hugolib/hugo_sites_build.go @@ -168,7 +168,9 @@ func (h *HugoSites) assemble(config *BuildCfg) error { if len(h.Sites) > 1 { // The first is initialized during process; initialize the rest for _, site := range h.Sites[1:] { - site.initializeSiteInfo() + if err := site.initializeSiteInfo(); err != nil { + return err + } } } -- cgit v1.2.3