mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	@@ -548,6 +548,13 @@ func (s *Site) preparePagesForRender(cfg *BuildCfg) {
 | 
			
		||||
					p.Content = helpers.BytesToHTML(workContentCopy)
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
				// TODO(bep) output this is temporary
 | 
			
		||||
				if p.IsNode() && p.Kind != KindTaxonomyTerm {
 | 
			
		||||
					p.mediaTypes = mediaTypesWithRSS
 | 
			
		||||
				} else {
 | 
			
		||||
					p.mediaTypes = mediaTypesHTML
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
				//analyze for raw stats
 | 
			
		||||
				p.analyzePage()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user