commit 12e0495203d2aa0b37101eb3c12ed4ccd6d37b6c
parent 6cd33f6953671edb13d42dcb15746bd10df3428b
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Sat, 22 Jul 2017 15:05:43 +0200
docs: Add RSS template lookup example
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/output/docshelper.go b/output/docshelper.go
@@ -45,6 +45,7 @@ func createLayoutExamples() interface{} {
}{
{`AMP home, with theme "demoTheme".`, LayoutDescriptor{Kind: "home"}, true, "", AMPFormat},
{`AMP home, French language".`, LayoutDescriptor{Kind: "home", Lang: "fr"}, false, "", AMPFormat},
+ {"RSS home, no theme.", LayoutDescriptor{Kind: "home"}, false, "", RSSFormat},
{"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, "", JSONFormat},