Skip to content

Commit

Permalink
docs: Add RSS template lookup example
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Jul 22, 2017
1 parent 6cd33f6 commit 12e0495
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions output/docshelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 12e0495

Please sign in to comment.