Skip to content

Commit 1028726

Browse files
committed
output: Fix output format mixup in example
See #3481
1 parent 27e8815 commit 1028726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎output/docshelper.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func createLayoutExamples() interface{} {
4646
{`AMP home, with theme "demoTheme".`, LayoutDescriptor{Kind: "home"}, true, "", AMPFormat},
4747
{"JSON home, no theme.", LayoutDescriptor{Kind: "home"}, false, "", JSONFormat},
4848
{fmt.Sprintf(`CSV regular, "layout: %s" in front matter.`, demoLayout), LayoutDescriptor{Kind: "page", Layout: demoLayout}, false, "", CSVFormat},
49-
{fmt.Sprintf(`JSON regular, "type: %s" in front matter.`, demoType), LayoutDescriptor{Kind: "page", Type: demoType}, false, "", CSVFormat},
49+
{fmt.Sprintf(`JSON regular, "type: %s" in front matter.`, demoType), LayoutDescriptor{Kind: "page", Type: demoType}, false, "", JSONFormat},
5050
{"HTML regular.", LayoutDescriptor{Kind: "page"}, false, "", HTMLFormat},
5151
{"AMP regular.", LayoutDescriptor{Kind: "page"}, false, "", AMPFormat},
5252
{"Calendar blog section.", LayoutDescriptor{Kind: "section", Section: "blog"}, false, "", CalendarFormat},

0 commit comments

Comments
 (0)