Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/output
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-01-19 13:39:34 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-01-19 13:39:34 +0300
commit07700aab0d816b8af1d49465fe3a76331ccb6b77 (patch)
treee99d6cbe7a87fd924467cab597b4ed2b323bffd4 /output
parent4d5e4f379a890a3c6cbc11ddb40d77a90f14c015 (diff)
output: Add some more layout docshelper variants
Diffstat (limited to 'output')
-rw-r--r--output/docshelper.go2
1 files changed, 2 insertions, 0 deletions
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},