diff options
author | spf13 <steve.francia@gmail.com> | 2014-11-01 19:05:37 +0300 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2014-11-01 19:05:37 +0300 |
commit | c5f1031e45f74e649a270359da2a3436e515c346 (patch) | |
tree | d194acc2fa1b2419d1c56db47b742940e6f3962a /hugolib/handler_page.go | |
parent | 141f3e19e0a9ba873b0cece6071b1187daa81d8d (diff) |
Handler WIP
Diffstat (limited to 'hugolib/handler_page.go')
-rw-r--r-- | hugolib/handler_page.go | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/hugolib/handler_page.go b/hugolib/handler_page.go index dd30dc4d5..75bf91a23 100644 --- a/hugolib/handler_page.go +++ b/hugolib/handler_page.go @@ -15,11 +15,8 @@ package hugolib import "github.com/spf13/hugo/source" -var Pager interface { - Read(*source.File) - Render() - Convert() - Extensions() []string +func init() { + RegisterHandler(markdown) } var markdown = Handle{ @@ -49,7 +46,3 @@ var markdown = Handle{ results <- HandledResult{err: err} }, } - -func init() { - RegisterHandler(markdown) -} |