summaryrefslogtreecommitdiffstats
path: root/hugolib/handler_base.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-01-10 01:36:59 +0100
committerGitHub <noreply@github.com>2017-01-10 01:36:59 +0100
commitd6000a208c7687ca3a3efd6961ac941ce325e199 (patch)
tree9644609a0d19894b46d065faec2cfe2aaeb410bd /hugolib/handler_base.go
parent4ea4359ac17a3b5304fb0d73773f99a07975ee1e (diff)
all: Refactor to nonglobal template handling
Updates #2701
Diffstat (limited to 'hugolib/handler_base.go')
-rw-r--r--hugolib/handler_base.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/hugolib/handler_base.go b/hugolib/handler_base.go
index 2029b7ac8..5b094fe16 100644
--- a/hugolib/handler_base.go
+++ b/hugolib/handler_base.go
@@ -15,12 +15,11 @@ package hugolib
import (
"github.com/spf13/hugo/source"
- "github.com/spf13/hugo/tpl"
)
type Handler interface {
FileConvert(*source.File, *Site) HandledResult
- PageConvert(*Page, tpl.Template) HandledResult
+ PageConvert(*Page) HandledResult
Read(*source.File, *Site) HandledResult
Extensions() []string
}