From: Bjørn Erik Pedersen Date: Thu, 18 May 2017 18:37:29 +0000 (+0300) Subject: output: Fix output format mixup in example X-Git-Tag: v0.21~18 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=10287263f529181d3169668b044cb84e2e3b049a;p=brevno-suite%2Fhugo output: Fix output format mixup in example See #3481 --- diff --git a/output/docshelper.go b/output/docshelper.go index e6b0ed28..7bd03145 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},