mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	@@ -244,17 +244,20 @@ type PageMeta struct {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*PageMeta) WordCount() int {
 | 
			
		||||
	// Remove in Hugo 0.19
 | 
			
		||||
	helpers.Deprecated("PageMeta", "WordCount", ".WordCount (on Page)", true)
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*PageMeta) FuzzyWordCount() int {
 | 
			
		||||
	// Remove in Hugo 0.19
 | 
			
		||||
	helpers.Deprecated("PageMeta", "FuzzyWordCount", ".FuzzyWordCount (on Page)", true)
 | 
			
		||||
	return 0
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*PageMeta) ReadingTime() int {
 | 
			
		||||
	// Remove in Hugo 0.19
 | 
			
		||||
	helpers.Deprecated("PageMeta", "ReadingTime", ".ReadingTime (on Page)", true)
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
@@ -1585,7 +1588,8 @@ func (p *Page) Hugo() *HugoInfo {
 | 
			
		||||
 | 
			
		||||
func (p *Page) RSSlink() template.HTML {
 | 
			
		||||
	// TODO(bep) we cannot have two of these
 | 
			
		||||
	helpers.Deprecated(".Page", "RSSlink", "RSSLink", false)
 | 
			
		||||
	// Remove in Hugo 0.20
 | 
			
		||||
	helpers.Deprecated(".Page", "RSSlink", "RSSLink", true)
 | 
			
		||||
	return p.RSSLink
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user