aboutsummaryrefslogtreecommitdiffhomepage
path: root/output
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-01-28 22:34:10 +0100
committerBjørn Erik Pedersen <[email protected]>2024-01-28 23:14:09 +0100
commita795acbcd8b18aa4af384d5c03f30740361c8fcf (patch)
tree0dbf7b000681a738b892c5235daf52c63cda88b9 /output
parent982d9513e71b3d48e20cfa38454a0e1215a8d963 (diff)
downloadhugo-a795acbcd8b18aa4af384d5c03f30740361c8fcf.tar.gz
hugo-a795acbcd8b18aa4af384d5c03f30740361c8fcf.zip
all: Run gofumpt -l -w .
Diffstat (limited to 'output')
-rw-r--r--output/docshelper.go1
-rw-r--r--output/layouts/layout_test.go1
-rw-r--r--output/outputFormat_test.go1
3 files changed, 0 insertions, 3 deletions
diff --git a/output/docshelper.go b/output/docshelper.go
index ee299420c..f7f3b0c4a 100644
--- a/output/docshelper.go
+++ b/output/docshelper.go
@@ -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"}},
diff --git a/output/layouts/layout_test.go b/output/layouts/layout_test.go
index 2f340f238..b6033247c 100644
--- a/output/layouts/layout_test.go
+++ b/output/layouts/layout_test.go
@@ -953,7 +953,6 @@ func TestLayout(t *testing.T) {
}
})
}
-
}
/*
diff --git a/output/outputFormat_test.go b/output/outputFormat_test.go
index 13e24af3b..c86bcd634 100644
--- a/output/outputFormat_test.go
+++ b/output/outputFormat_test.go
@@ -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) {