mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
hugolib: Adjust .Site.Permalinks deprecation level
This commit is contained in:
1 file changed
+2
-2
+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