aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/pagecollections.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/pagecollections.go')
-rw-r--r--hugolib/pagecollections.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/pagecollections.go b/hugolib/pagecollections.go
index 0d901d6b2..6f7d291bc 100644
--- a/hugolib/pagecollections.go
+++ b/hugolib/pagecollections.go
@@ -143,7 +143,7 @@ func (c *PageCollections) getPageOldVersion(ref ...string) (page.Page, error) {
return c.getPageNew(nil, key)
}
-// Only used in tests.
+// Only used in tests.
func (c *PageCollections) getPage(typ string, sections ...string) page.Page {
refs := append([]string{typ}, path.Join(sections...))
p, _ := c.getPageOldVersion(refs...)