There was an error while loading. Please reload this page.
1 parent 27e8815 commit 1028726Copy full SHA for 1028726
output/docshelper.go
@@ -46,7 +46,7 @@ func createLayoutExamples() interface{} {
46
{`AMP home, with theme "demoTheme".`, LayoutDescriptor{Kind: "home"}, true, "", AMPFormat},
47
{"JSON home, no theme.", LayoutDescriptor{Kind: "home"}, false, "", JSONFormat},
48
{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},
+ {fmt.Sprintf(`JSON regular, "type: %s" in front matter.`, demoType), LayoutDescriptor{Kind: "page", Type: demoType}, false, "", JSONFormat},
50
{"HTML regular.", LayoutDescriptor{Kind: "page"}, false, "", HTMLFormat},
51
{"AMP regular.", LayoutDescriptor{Kind: "page"}, false, "", AMPFormat},
52
{"Calendar blog section.", LayoutDescriptor{Kind: "section", Section: "blog"}, false, "", CalendarFormat},
0 commit comments