diff options
-rw-r--r-- | hugolib/pageSort.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/pageSort.go b/hugolib/pageSort.go index 92b767ffe..055519b04 100644 --- 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() } |