mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
hugolob: A first incorporation of output types in rendering
This commit is contained in:
@@ -550,9 +550,9 @@ func (s *Site) preparePagesForRender(cfg *BuildCfg) {
|
||||
|
||||
// TODO(bep) output this is temporary
|
||||
if p.IsNode() && p.Kind != KindTaxonomyTerm {
|
||||
p.mediaTypes = mediaTypesWithRSS
|
||||
p.outputTypes = outputTypesWithRSS
|
||||
} else {
|
||||
p.mediaTypes = mediaTypesHTML
|
||||
p.outputTypes = outputTypesHTML
|
||||
}
|
||||
|
||||
//analyze for raw stats
|
||||
|
Reference in New Issue
Block a user