shithub: hugo

Download patch

ref: dac34f9bfd3e4465145ba7e1ee9fd76aad0f1c5a
parent: c31fa378c764cf67a9adbbad8d4291683d9d0906
author: Bjørn Erik Pedersen <[email protected]>
date: Wed Mar 23 13:12:47 EDT 2016

hugolib: Fix spelling mistake

--- a/hugolib/pageSort.go
+++ b/hugolib/pageSort.go
@@ -32,7 +32,7 @@
 // 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,