From 10287263f529181d3169668b044cb84e2e3b049a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 18 May 2017 21:37:29 +0300 Subject: [PATCH] output: Fix output format mixup in example See #3481 --- output/docshelper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/docshelper.go b/output/docshelper.go index e6b0ed28f..7bd031450 100644 --- a/output/docshelper.go +++ b/output/docshelper.go @@ -46,7 +46,7 @@ func createLayoutExamples() interface{} { {`AMP home, with theme "demoTheme".`, LayoutDescriptor{Kind: "home"}, true, "", AMPFormat}, {"JSON home, no theme.", LayoutDescriptor{Kind: "home"}, false, "", JSONFormat}, {fmt.Sprintf(`CSV regular, "layout: %s" in front matter.`, demoLayout), LayoutDescriptor{Kind: "page", Layout: demoLayout}, false, "", CSVFormat}, - {fmt.Sprintf(`JSON regular, "type: %s" in front matter.`, demoType), LayoutDescriptor{Kind: "page", Type: demoType}, false, "", CSVFormat}, + {fmt.Sprintf(`JSON regular, "type: %s" in front matter.`, demoType), LayoutDescriptor{Kind: "page", Type: demoType}, false, "", JSONFormat}, {"HTML regular.", LayoutDescriptor{Kind: "page"}, false, "", HTMLFormat}, {"AMP regular.", LayoutDescriptor{Kind: "page"}, false, "", AMPFormat}, {"Calendar blog section.", LayoutDescriptor{Kind: "section", Section: "blog"}, false, "", CalendarFormat},