mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +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 {
|
func (s *SiteInfo) Permalinks() map[string]string {
|
||||||
// Remove in 0.57
|
// Remove in 0.61
|
||||||
helpers.Deprecated(".Site.Permalinks", "", false)
|
helpers.Deprecated(".Site.Permalinks", "", true)
|
||||||
return s.permalinks
|
return s.permalinks
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user