From 12e0495203d2aa0b37101eb3c12ed4ccd6d37b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 22 Jul 2017 15:05:43 +0200 Subject: [PATCH] docs: Add RSS template lookup example --- output/docshelper.go | 1 + 1 file changed, 1 insertion(+) diff --git a/output/docshelper.go b/output/docshelper.go index c45e956e645..9ed94b09b31 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},