mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
hugolib: Adjust .Site.Permalinks deprecation level
This commit is contained in:
@@ -571,8 +571,8 @@ func (s *SiteInfo) AllRegularPages() page.Pages {
|
||||
}
|
||||
|
||||
func (s *SiteInfo) Permalinks() map[string]string {
|
||||
// Remove in 0.57
|
||||
helpers.Deprecated(".Site.Permalinks", "", false)
|
||||
// Remove in 0.61
|
||||
helpers.Deprecated(".Site.Permalinks", "", true)
|
||||
return s.permalinks
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user