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
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-01-23 13:59:52 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-01-23 13:59:52 +0300
commitcafb1d53c0927e2aef8abff1bf9095c90c6f3067 (patch)
treebe417eccafd052c27b6e51b260616d89ecb43922 /docs/data/docs.json
parent4f466db666dded1b6c6d1e6926e170f22164433a (diff)
docs, output: Add base template lookup variant to docs.json
Diffstat (limited to 'docs/data/docs.json')
-rw-r--r--docs/data/docs.json92
1 files changed, 92 insertions, 0 deletions
diff --git a/docs/data/docs.json b/docs/data/docs.json
index de575f230..942f04fb0 100644
--- a/docs/data/docs.json
+++ b/docs/data/docs.json
@@ -1922,6 +1922,22 @@
]
},
{
+ "Example": "Base template for single page in \"posts\" section",
+ "Kind": "page",
+ "OutputFormat": "HTML",
+ "Suffix": "html",
+ "Template Lookup Order": [
+ "layouts/posts/single-baseof.html.html",
+ "layouts/posts/baseof.html.html",
+ "layouts/posts/single-baseof.html",
+ "layouts/posts/baseof.html",
+ "layouts/_default/single-baseof.html.html",
+ "layouts/_default/baseof.html.html",
+ "layouts/_default/single-baseof.html",
+ "layouts/_default/baseof.html"
+ ]
+ },
+ {
"Example": "Single page in \"posts\" section with layout set",
"Kind": "page",
"OutputFormat": "HTML",
@@ -1938,6 +1954,26 @@
]
},
{
+ "Example": "Base template for single page in \"posts\" section with layout set",
+ "Kind": "page",
+ "OutputFormat": "HTML",
+ "Suffix": "html",
+ "Template Lookup Order": [
+ "layouts/posts/demolayout-baseof.html.html",
+ "layouts/posts/single-baseof.html.html",
+ "layouts/posts/baseof.html.html",
+ "layouts/posts/demolayout-baseof.html",
+ "layouts/posts/single-baseof.html",
+ "layouts/posts/baseof.html",
+ "layouts/_default/demolayout-baseof.html.html",
+ "layouts/_default/single-baseof.html.html",
+ "layouts/_default/baseof.html.html",
+ "layouts/_default/demolayout-baseof.html",
+ "layouts/_default/single-baseof.html",
+ "layouts/_default/baseof.html"
+ ]
+ },
+ {
"Example": "AMP single page",
"Kind": "page",
"OutputFormat": "AMP",
@@ -1986,6 +2022,30 @@
]
},
{
+ "Example": "Base template for home page",
+ "Kind": "home",
+ "OutputFormat": "HTML",
+ "Suffix": "html",
+ "Template Lookup Order": [
+ "layouts/index-baseof.html.html",
+ "layouts/home-baseof.html.html",
+ "layouts/list-baseof.html.html",
+ "layouts/baseof.html.html",
+ "layouts/index-baseof.html",
+ "layouts/home-baseof.html",
+ "layouts/list-baseof.html",
+ "layouts/baseof.html",
+ "layouts/_default/index-baseof.html.html",
+ "layouts/_default/home-baseof.html.html",
+ "layouts/_default/list-baseof.html.html",
+ "layouts/_default/baseof.html.html",
+ "layouts/_default/index-baseof.html",
+ "layouts/_default/home-baseof.html",
+ "layouts/_default/list-baseof.html",
+ "layouts/_default/baseof.html"
+ ]
+ },
+ {
"Example": "Home page with type set",
"Kind": "home",
"OutputFormat": "HTML",
@@ -2012,6 +2072,38 @@
]
},
{
+ "Example": "Base template for home page with type set",
+ "Kind": "home",
+ "OutputFormat": "HTML",
+ "Suffix": "html",
+ "Template Lookup Order": [
+ "layouts/demotype/index-baseof.html.html",
+ "layouts/demotype/home-baseof.html.html",
+ "layouts/demotype/list-baseof.html.html",
+ "layouts/demotype/baseof.html.html",
+ "layouts/demotype/index-baseof.html",
+ "layouts/demotype/home-baseof.html",
+ "layouts/demotype/list-baseof.html",
+ "layouts/demotype/baseof.html",
+ "layouts/index-baseof.html.html",
+ "layouts/home-baseof.html.html",
+ "layouts/list-baseof.html.html",
+ "layouts/baseof.html.html",
+ "layouts/index-baseof.html",
+ "layouts/home-baseof.html",
+ "layouts/list-baseof.html",
+ "layouts/baseof.html",
+ "layouts/_default/index-baseof.html.html",
+ "layouts/_default/home-baseof.html.html",
+ "layouts/_default/list-baseof.html.html",
+ "layouts/_default/baseof.html.html",
+ "layouts/_default/index-baseof.html",
+ "layouts/_default/home-baseof.html",
+ "layouts/_default/list-baseof.html",
+ "layouts/_default/baseof.html"
+ ]
+ },
+ {
"Example": "Home page with layout set",
"Kind": "home",
"OutputFormat": "HTML",