hugolib: Adjust .Site.Permalinks deprecation level - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 03b369e6726ed8a732c07db48f7209425c434bbe
(DIR) parent 69fd1c60d8bcf6d1cea4bfea852f62df8891ee81
(HTM) Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Mon, 25 Nov 2019 20:19:41 +0100
hugolib: Adjust .Site.Permalinks deprecation level
Diffstat:
M hugolib/site.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/hugolib/site.go b/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
}