mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
hugolib: Fix spelling mistake
This commit is contained in:
@@ -32,7 +32,7 @@ type PageSorter struct {
|
|||||||
// PageBy is a closure used in the Sort.Less method.
|
// PageBy is a closure used in the Sort.Less method.
|
||||||
type PageBy func(p1, p2 *Page) bool
|
type PageBy func(p1, p2 *Page) bool
|
||||||
|
|
||||||
// Sort stable sorts the pages given the receiver's sort oder.
|
// Sort stable sorts the pages given the receiver's sort order.
|
||||||
func (by PageBy) Sort(pages Pages) {
|
func (by PageBy) Sort(pages Pages) {
|
||||||
ps := &PageSorter{
|
ps := &PageSorter{
|
||||||
pages: pages,
|
pages: pages,
|
||||||
|
Reference in New Issue
Block a user