mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 20:14:58 +00:00
Remove single.html references from homepage template
Closes rdwatters/hugo-docs-concept#117
This commit is contained in:
1 parent
f4d9612e61
commit
ccf1fcb05b
1 file changed
+3
-5
@@ -32,10 +32,8 @@ The [lookup order][lookup] for the homepage template is as follows:
|
|||||||
|
|
||||||
1. `/layouts/index.html`
|
1. `/layouts/index.html`
|
||||||
2. `/layouts/_default/list.html`
|
2. `/layouts/_default/list.html`
|
||||||
3. `/layouts/_default/single.html`
|
3. `/themes/<THEME>/layouts/index.html`
|
||||||
4. `/themes/<THEME>/layouts/index.html`
|
4. `/themes/<THEME>/layouts/_default/list.html`
|
||||||
5. `/themes/<THEME>/layouts/_default/list.html`
|
|
||||||
6. `/themes/<THEME>/layouts/_default/single.html`
|
|
||||||
|
|
||||||
## Adding Content and Front Matter to the Homepage
|
## Adding Content and Front Matter to the Homepage
|
||||||
|
|
||||||
@@ -82,4 +80,4 @@ The following is an example of a homepage template that uses [partial][partials]
|
|||||||
[lookup]: /templates/lookup-order/
|
[lookup]: /templates/lookup-order/
|
||||||
[pagevars]: /variables/page/
|
[pagevars]: /variables/page/
|
||||||
[partials]: /templates/partials/
|
[partials]: /templates/partials/
|
||||||
[sitevars]: /variables/site/
|
[sitevars]: /variables/site/
|
||||||
Reference in new issue
Block a user