Skip to content

Commit

Permalink
hugolib: Adjust .Site.Permalinks deprecation level
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Nov 25, 2019
1 parent 69fd1c6 commit 03b369e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hugolib/site.go
Expand Up @@ -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
}

Expand Down

0 comments on commit 03b369e

Please sign in to comment.