mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
hugolib: Add basic setup for output def per Kind
This commit is contained in:
@@ -73,7 +73,7 @@ func pageRenderer(s *Site, pages <-chan *Page, results chan<- error, wg *sync.Wa
|
||||
// TODO(bep) output
|
||||
layouts = pageOutput.layoutsCalculated
|
||||
} else {
|
||||
layouts = s.layoutHandler.For(pageOutput.layoutIdentifier, "", pageOutput.outputType)
|
||||
layouts = s.layouts(pageOutput)
|
||||
}
|
||||
|
||||
switch pageOutput.outputType {
|
||||
@@ -87,7 +87,6 @@ func pageRenderer(s *Site, pages <-chan *Page, results chan<- error, wg *sync.Wa
|
||||
results <- err
|
||||
}
|
||||
|
||||
// Taxonomy terms have no page set to paginate, so skip that for now.
|
||||
if pageOutput.IsNode() {
|
||||
if err := s.renderPaginator(pageOutput); err != nil {
|
||||
results <- err
|
||||
|
Reference in New Issue
Block a user