config: Add the foundation for GDPR privacy configuration

See #4616
This commit is contained in:
Bjørn Erik Pedersen
2018-05-04 10:18:45 +02:00
parent 9bd4236e1b
commit 0bbdef986d
7 changed files with 239 additions and 5 deletions

View File

@@ -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
}
}
}