summaryrefslogtreecommitdiffstats
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 50dfe6ffa..1ce091f59 100644
--- a/hugolib/site_sections.go
+++ b/hugolib/site_sections.go
@@ -18,11 +18,11 @@ import (
)
// Sections returns the top level sections.
-func (s *SiteInfo) Sections() page.Pages {
+func (s *Site) Sections() page.Pages {
return s.Home().Sections()
}
// Home is a shortcut to the home page, equivalent to .Site.GetPage "home".
-func (s *SiteInfo) Home() page.Page {
+func (s *Site) Home() page.Page {
return s.s.home
}