From 07700aab0d816b8af1d49465fe3a76331ccb6b77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 19 Jan 2018 11:39:34 +0100 Subject: [PATCH] output: Add some more layout docshelper variants --- output/docshelper.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/output/docshelper.go b/output/docshelper.go index cb326f35d..17ce4fb44 100644 --- a/output/docshelper.go +++ b/output/docshelper.go @@ -46,7 +46,9 @@ func createLayoutExamples() interface{} { // Taxonomy output.LayoutDescriptor={categories category taxonomy en false Type Section {"Single page in \"posts\" section", LayoutDescriptor{Kind: "page", Type: "posts"}, false, HTMLFormat}, {"Single page in \"posts\" section with layout set", LayoutDescriptor{Kind: "page", Type: "posts", Layout: demoLayout}, false, HTMLFormat}, + {"Single page in \"posts\" section with theme", LayoutDescriptor{Kind: "page", Type: "posts"}, true, HTMLFormat}, {"AMP single page", LayoutDescriptor{Kind: "page", Type: "posts"}, false, AMPFormat}, + {"AMP single page, French language", LayoutDescriptor{Kind: "page", Type: "posts", Lang: "fr"}, false, AMPFormat}, // All section or typeless pages gets "page" as type {"Home page", LayoutDescriptor{Kind: "home", Type: "page"}, false, HTMLFormat}, {"Home page with type set", LayoutDescriptor{Kind: "home", Type: demoType}, false, HTMLFormat},