shithub: hugo

Download patch

ref: 12e0495203d2aa0b37101eb3c12ed4ccd6d37b6c
parent: 6cd33f6953671edb13d42dcb15746bd10df3428b
author: Bjørn Erik Pedersen <[email protected]>
date: Sat Jul 22 11:05:43 EDT 2017

docs: Add RSS template lookup example

--- a/output/docshelper.go
+++ b/output/docshelper.go
@@ -45,6 +45,7 @@
 	}{
 		{`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},