Skip to content
Permalink
Browse files

hugolib: Adjust .Site.Permalinks deprecation level

  • Loading branch information
bep committed Nov 25, 2019
1 parent 69fd1c6 commit 03b369e6726ed8a732c07db48f7209425c434bbe
Showing with 2 additions and 2 deletions.
  1. +2 −2 hugolib/site.go
@@ -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
}

0 comments on commit 03b369e

Please sign in to comment.
You can’t perform that action at this time.