summaryrefslogtreecommitdiffstats
path: root/hugolib/pagecollections.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-02 13:23:25 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-03 13:12:58 +0100
commitd90e37e0c6e812f9913bf256c9c81aa05b7a08aa (patch)
tree7b1b14464eefec1188ca2eed53c64e4823453cc9 /hugolib/pagecollections.go
parent32471b57bde51c55a15dbf1db75d6e5f7232c347 (diff)
all: Format code with gofumpt
See https://github.com/mvdan/gofumpt
Diffstat (limited to 'hugolib/pagecollections.go')
-rw-r--r--hugolib/pagecollections.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/hugolib/pagecollections.go b/hugolib/pagecollections.go
index 49378452f..c1c9ef88b 100644
--- a/hugolib/pagecollections.go
+++ b/hugolib/pagecollections.go
@@ -205,7 +205,6 @@ func (c *PageCollections) getSectionOrPage(ref string) (*contentNode, string) {
}
return m.getPage(s, name), name
-
}
// For Ref/Reflink and .Site.GetPage do simple name lookups for the potentially ambigous myarticle.md and /myarticle.md,
@@ -326,7 +325,6 @@ func (c *PageCollections) getContentNode(context page.Page, isReflink bool, ref
// Ref/relref supports this potentially ambigous lookup.
return getByName(path.Base(name))
-
}
func (*PageCollections) findPagesByKindIn(kind string, inPages page.Pages) page.Pages {