mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 14:55:09 -04:00
docs, output: Add base template lookup variant to docs.json
This commit is contained in:
parent
1f7466a765
commit
90feaac39b
@ -1921,6 +1921,22 @@
|
|||||||
"layouts/_default/single.html"
|
"layouts/_default/single.html"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"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",
|
"Example": "Single page in \"posts\" section with layout set",
|
||||||
"Kind": "page",
|
"Kind": "page",
|
||||||
@ -1937,6 +1953,26 @@
|
|||||||
"layouts/_default/single.html"
|
"layouts/_default/single.html"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"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",
|
"Example": "AMP single page",
|
||||||
"Kind": "page",
|
"Kind": "page",
|
||||||
@ -1985,6 +2021,30 @@
|
|||||||
"layouts/_default/list.html"
|
"layouts/_default/list.html"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"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",
|
"Example": "Home page with type set",
|
||||||
"Kind": "home",
|
"Kind": "home",
|
||||||
@ -2011,6 +2071,38 @@
|
|||||||
"layouts/_default/list.html"
|
"layouts/_default/list.html"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"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",
|
"Example": "Home page with layout set",
|
||||||
"Kind": "home",
|
"Kind": "home",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user