Refactor the GitInfo into the date handlers

Fixes #4495
This commit is contained in:
Bjørn Erik Pedersen
2018-03-11 18:59:11 +01:00
parent 95d62004a0
commit ce6e4310fe
8 changed files with 147 additions and 88 deletions

View File

@@ -165,8 +165,6 @@ func (h *HugoSites) assemble(config *BuildCfg) error {
}
if config.whatChanged.source {
h.assembleGitInfo()
for _, s := range h.Sites {
if err := s.buildSiteMeta(); err != nil {
return err