mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-31 22:41:53 +02:00
Run gofmt -s on source files
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
b6f44aaf1a
commit
d55af2abf0
@@ -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...)
|
||||
|
Reference in New Issue
Block a user