tpl/collections: Make it a package that stands on its own

See #3042
This commit is contained in:
Bjørn Erik Pedersen
2017-04-30 21:52:56 +02:00
parent a3bf118eaa
commit 8a49c0b3b8
15 changed files with 156 additions and 141 deletions

View File

@@ -111,7 +111,7 @@ func (h *HugoSites) initRebuild(config *BuildCfg) error {
// This is for the non-renderable content pages (rarely used, I guess).
// We could maybe detect if this is really needed, but it should be
// pretty fast.
h.Tmpl.RebuildClone()
h.TemplateHandler().RebuildClone()
}
for _, s := range h.Sites {