hugolib: Add disableKinds option

Fixes #2534
This commit is contained in:
Bjørn Erik Pedersen
2017-02-18 10:02:12 +01:00
parent e096917f87
commit 6d2281c8ea
8 changed files with 332 additions and 43 deletions

View File

@@ -136,6 +136,12 @@ func (h *HugoSites) process(config *BuildCfg, events ...fsnotify.Event) error {
}
func (h *HugoSites) assemble(config *BuildCfg) error {
if config.whatChanged.source {
for _, s := range h.Sites {
s.createTaxonomiesEntries()
}
}
// TODO(bep) we could probably wait and do this in one go later
h.setupTranslations()