summaryrefslogtreecommitdiffhomepage
path: root/hugolib/site_sections.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/site_sections.go')
-rw-r--r--hugolib/site_sections.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/site_sections.go b/hugolib/site_sections.go
index 15b96e1a7..d27b31614 100644
--- a/hugolib/site_sections.go
+++ b/hugolib/site_sections.go
@@ -326,7 +326,7 @@ func (s *Site) assembleSections() Pages {
for _, sect := range sectionPages {
if sect.parent != nil {
- sect.parent.subSections.Sort()
+ sect.parent.subSections.sort()
}
for i, p := range sect.Pages {
@@ -356,7 +356,7 @@ func (s *Site) assembleSections() Pages {
}
func (p *Page) setPagePages(pages Pages) {
- pages.Sort()
+ pages.sort()
p.Pages = pages
p.data = make(map[string]interface{})
p.data["Pages"] = pages