diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-07-22 15:05:43 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-07-22 15:05:43 +0200 |
commit | 12e0495203d2aa0b37101eb3c12ed4ccd6d37b6c (patch) | |
tree | 07fca0c660d27966d764a101165ea3a8030bafe3 | |
parent | 6cd33f6953671edb13d42dcb15746bd10df3428b (diff) |
docs: Add RSS template lookup example
-rw-r--r-- | output/docshelper.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/output/docshelper.go b/output/docshelper.go index c45e956e6..9ed94b09b 100644 --- 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}, |