diff options
author | Andreas Deininger <[email protected]> | 2023-03-10 20:18:41 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-03-12 10:32:29 +0100 |
commit | d55af2abf0548e627998d3905cfdec5b7b8f7ec3 (patch) | |
tree | 1d5a8ce9decb09badff02a2b942886831d1783e2 /hugolib/pagecollections.go | |
parent | b6f44aaf1a5b80943e553bda2282d971e00e3d48 (diff) | |
download | hugo-d55af2abf0548e627998d3905cfdec5b7b8f7ec3.tar.gz hugo-d55af2abf0548e627998d3905cfdec5b7b8f7ec3.zip |
Run gofmt -s on source files
Diffstat (limited to 'hugolib/pagecollections.go')
-rw-r--r-- | hugolib/pagecollections.go | 2 |
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...) |