mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-02 19:52:38 +00:00
hugolib: Adjust .Site.Permalinks deprecation level
This commit is contained in:
+2
-2
@@ -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