mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
all: Run gofumpt -l -w .
This commit is contained in:
@@ -41,7 +41,6 @@ func createLayoutExamples() any {
|
||||
name string
|
||||
d layouts.LayoutDescriptor
|
||||
}{
|
||||
|
||||
// Taxonomy layouts.LayoutDescriptor={categories category taxonomy en false Type Section
|
||||
{"Single page in \"posts\" section", layouts.LayoutDescriptor{Kind: "page", Type: "posts", OutputFormatName: "html", Suffix: "html"}},
|
||||
{"Base template for single page in \"posts\" section", layouts.LayoutDescriptor{Baseof: true, Kind: "page", Type: "posts", OutputFormatName: "html", Suffix: "html"}},
|
||||
|
@@ -953,7 +953,6 @@ func TestLayout(t *testing.T) {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
@@ -69,7 +69,6 @@ func TestDefaultTypes(t *testing.T) {
|
||||
c.Assert(CalendarFormat.IsHTML, qt.Equals, false)
|
||||
|
||||
c.Assert(len(DefaultFormats), qt.Equals, 11)
|
||||
|
||||
}
|
||||
|
||||
func TestGetFormatByName(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user