aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/pageSort.go
diff options
context:
space:
mode:
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 6d2431cec..8e9420e30 100644
--- a/hugolib/pageSort.go
+++ b/hugolib/pageSort.go
@@ -129,7 +129,7 @@ func (p Pages) ByTitle() Pages {
key := "pageSort.ByTitle"
title := func(p1, p2 *Page) bool {
- return p1.Title < p2.Title
+ return p1.title < p2.title
}
pages, _ := spc.get(key, p, pageBy(title).Sort)