Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-05-04 11:18:45 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-05-21 01:41:42 +0300
commit0bbdef986d8eecf4fabe9a372e33626dbdfeb36b (patch)
tree72e52401c9bf5503e0581a0f522a350311e29a0e /hugolib/hugo_sites_build.go
parent9bd4236e1b3bee332439eef50e12d4481340c3eb (diff)
config: Add the foundation for GDPR privacy configuration
See #4616
Diffstat (limited to 'hugolib/hugo_sites_build.go')
-rw-r--r--hugolib/hugo_sites_build.go4
1 files changed, 3 insertions, 1 deletions
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
+ }
}
}