shithub: hugo

Download patch

ref: 03b369e6726ed8a732c07db48f7209425c434bbe
parent: 69fd1c60d8bcf6d1cea4bfea852f62df8891ee81
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Mon Nov 25 15:19:41 EST 2019

hugolib: Adjust .Site.Permalinks deprecation level

--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -571,8 +571,8 @@
 }
 
 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
 }