summaryrefslogtreecommitdiffhomepage
path: root/output
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-07-22 15:05:43 +0200
committerBjørn Erik Pedersen <[email protected]>2017-07-22 15:05:43 +0200
commit12e0495203d2aa0b37101eb3c12ed4ccd6d37b6c (patch)
tree07fca0c660d27966d764a101165ea3a8030bafe3 /output
parent6cd33f6953671edb13d42dcb15746bd10df3428b (diff)
downloadhugo-12e0495203d2aa0b37101eb3c12ed4ccd6d37b6c.tar.gz
hugo-12e0495203d2aa0b37101eb3c12ed4ccd6d37b6c.zip
docs: Add RSS template lookup example
Diffstat (limited to 'output')
-rw-r--r--output/docshelper.go1
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},