hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit faeb55c1d827f0ea994551a103ff4f7448786d39
parent 6c6a6c87ec2b5ac7342e268ab47861429230f7f4
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu,  1 Nov 2018 21:11:45 +0100

hugolib: Bump to ERROR for the deprecated Pages.Sort

Diffstat:
Mhugolib/pageSort.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hugolib/pageSort.go b/hugolib/pageSort.go
@@ -101,7 +101,7 @@ func (ps *pageSorter) Less(i, j int) bool { return ps.by(ps.pages[i], ps.pages[j
 // Order by Weight, Date, LinkTitle and then full file path.
 func (p Pages) Sort() {
 	// Remove in Hugo 0.51
-	helpers.Deprecated("Pages", "Sort", "Use .ByWeight", false)
+	helpers.Deprecated("Pages", "Sort", "Use .ByWeight", true)
 	p.sort()
 }