mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-25 16:21:06 +00:00
hugolib: Adjust .Site.Permalinks deprecation level
This commit is contained in:
parent
69fd1c60d8
commit
03b369e672
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue