Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-02-21 15:55:08 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-02-21 15:56:20 +0300
commit2cbdd65330a727ae172b11b4b9dc96f675e1bb19 (patch)
tree79ab97c8642aa41dbaf29e15ee432c4e4018bf35 /tpl/template.go
parent4e77c8717b18b8b54f4e56cb305da6cf3bc26be7 (diff)
tpl, hugolib: Fix live-reload of non-renderable content pages
Fixes #3062
Diffstat (limited to 'tpl/template.go')
-rw-r--r--tpl/template.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/template.go b/tpl/template.go
index aaf7fc8c7..b94fc3242 100644
--- a/tpl/template.go
+++ b/tpl/template.go
@@ -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