tplimpl: Refactor imageConfig into a struct

Updates #2701
This commit is contained in:
Bjørn Erik Pedersen
2017-02-17 14:22:40 +01:00
parent c507e2717d
commit 77cbe4d60b
3 changed files with 34 additions and 79 deletions

View File

@@ -190,8 +190,6 @@ func (h *HugoSites) reset() {
for i, s := range h.Sites {
h.Sites[i] = s.reset()
}
tplimpl.ResetCaches()
}
func (h *HugoSites) createSitesFromConfig() error {