summaryrefslogtreecommitdiffstats
path: root/hugolib/pageSort.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-03-23 17:12:47 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-03-23 17:12:47 +0100
commitdac34f9bfd3e4465145ba7e1ee9fd76aad0f1c5a (patch)
treeeedaa592b49841ef93be84655cf578b9fbd57d5b /hugolib/pageSort.go
parentc31fa378c764cf67a9adbbad8d4291683d9d0906 (diff)
hugolib: Fix spelling mistake
Diffstat (limited to 'hugolib/pageSort.go')
-rw-r--r--hugolib/pageSort.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/pageSort.go b/hugolib/pageSort.go
index b6ec1a7fd..423975a29 100644
--- a/hugolib/pageSort.go
+++ b/hugolib/pageSort.go
@@ -32,7 +32,7 @@ type PageSorter struct {
// PageBy is a closure used in the Sort.Less method.
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) {
ps := &PageSorter{
pages: pages,