Handlers WIP (builds)

This commit is contained in:
spf13
2014-10-20 17:51:53 -04:00
parent 93f3d604c6
commit 30d4a26ba0
3 changed files with 9 additions and 10 deletions

View File

@@ -402,14 +402,10 @@ func sourceReader(s *Site, files <-chan *source.File, results chan<- HandledResu
for file := range files {
h := FindHandler(file.Extension())
if h != nil {
h.Read(file, results)
h.Read(file, s, results)
} else {
jww.ERROR.Println("Unsupported File Type", file.Path())
}
// TODO: Figure out Site stuff
//page.Site = &s.Info
//page.Tmpl = s.Tmpl
}
}