1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

hugolib: Deprecate Pages.Sort

In favour of ByWeight.
This commit is contained in:
Bjørn Erik Pedersen
2018-09-21 14:23:00 +02:00
parent 2eed35c826
commit 2e2e34a935
6 changed files with 20 additions and 12 deletions

View File

@@ -42,7 +42,7 @@ func (p1 Pages) MergeByLanguage(p2 Pages) Pages {
}
}
pages.Sort()
pages.sort()
}
out, _ := spc.getP("pages.MergeByLanguage", merge, p1, p2)