hugolib: Adjust .Site.Permalinks deprecation level

This commit is contained in:
Bjørn Erik Pedersen 2019-11-25 20:19:41 +01:00
parent 69fd1c60d8
commit 03b369e672
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -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
}