tpl, hugolib: Fix live-reload of non-renderable content pages

Fixes #3062
This commit is contained in:
Bjørn Erik Pedersen
2017-02-21 13:55:08 +01:00
parent 4e77c8717b
commit 2cbdd65330
4 changed files with 23 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ type Template interface {
Templates() []*template.Template
New(name string) *template.Template
GetClone() *template.Template
RebuildClone() *template.Template
LoadTemplates(absPath string)
LoadTemplatesWithPrefix(absPath, prefix string)
AddTemplate(name, tpl string) error