diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-05-18 21:37:29 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-05-18 21:37:29 +0300 |
commit | 10287263f529181d3169668b044cb84e2e3b049a (patch) | |
tree | 104b2568eeea2cd9f150ac6f376bf19fb7e4e610 /output | |
parent | 27e88154af2dd9af6d0523d6e67b612e6336f91c (diff) | |
download | hugo-10287263f529181d3169668b044cb84e2e3b049a.tar.gz hugo-10287263f529181d3169668b044cb84e2e3b049a.zip |
output: Fix output format mixup in example
See #3481
Diffstat (limited to 'output')
-rw-r--r-- | output/docshelper.go | 2 |
1 files changed, 1 insertions, 1 deletions
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}, |