output: Add output type

This commit is contained in:
Bjørn Erik Pedersen
2017-03-05 18:23:00 +01:00
parent c4989c39f1
commit d3d2c63dd9
6 changed files with 126 additions and 9 deletions

View File

@@ -67,7 +67,7 @@ func pageRenderer(s *Site, pages <-chan *Page, results chan<- error, wg *sync.Wa
for _, mediaType := range p.mediaTypes {
switch mediaType {
case media.HtmlType:
case media.HTMLType:
targetPath := p.TargetPath()
layouts := p.layouts()