mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	resources/page: Formally deprecate .Site.LastChange
Use .Site.Lastmod instead.
This commit is contained in:
		
				
					committed by
					
						
						Bjørn Erik Pedersen
					
				
			
			
				
	
			
			
			
						parent
						
							46575baa02
						
					
				
				
					commit
					3a665ddbf9
				
			@@ -263,6 +263,7 @@ func (s *siteWrapper) Taxonomies() TaxonomyList {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (s *siteWrapper) LastChange() time.Time {
 | 
			
		||||
	hugo.Deprecate(".Site.LastChange", "Use .Site.Lastmod instead.", "v0.123.0")
 | 
			
		||||
	return s.s.Lastmod()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user