mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Handlers WIP (builds)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user