summaryrefslogtreecommitdiffstats
path: root/hugolib/page_kinds.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/page_kinds.go
parent32471b57bde51c55a15dbf1db75d6e5f7232c347 (diff)
all: Format code with gofumpt
See https://github.com/mvdan/gofumpt
Diffstat (limited to 'hugolib/page_kinds.go')
-rw-r--r--hugolib/page_kinds.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/hugolib/page_kinds.go b/hugolib/page_kinds.go
index 683d12c1b..b63da1d13 100644
--- a/hugolib/page_kinds.go
+++ b/hugolib/page_kinds.go
@@ -19,11 +19,8 @@ import (
"github.com/gohugoio/hugo/resources/page"
)
-var (
-
- // This is all the kinds we can expect to find in .Site.Pages.
- allKindsInPages = []string{page.KindPage, page.KindHome, page.KindSection, page.KindTerm, page.KindTaxonomy}
-)
+// This is all the kinds we can expect to find in .Site.Pages.
+var allKindsInPages = []string{page.KindPage, page.KindHome, page.KindSection, page.KindTerm, page.KindTaxonomy}
const (