mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 09:57:16 -04:00
Merge commit '7a89dce53bfbd67a17442a8f9be8fa895fc4f9b1'
This commit is contained in:
commit
f8fd5796bb
@ -47,7 +47,7 @@ In addition to the standard [page variables][pagevars], the homepage template ha
|
|||||||
|
|
||||||
## Example Homepage Template
|
## Example Homepage Template
|
||||||
|
|
||||||
The following is an example of a homepage template that uses [partial][partials], [base][] templates, and a content file at `content/_index.md` to populate the `{{.Title}}` and `{{Content}}` [page variables][pagevars].
|
The following is an example of a homepage template that uses [partial][partials], [base][] templates, and a content file at `content/_index.md` to populate the `{{.Title}}` and `{{.Content}}` [page variables][pagevars].
|
||||||
|
|
||||||
{{< code file="layouts/index.html" download="index.html" >}}
|
{{< code file="layouts/index.html" download="index.html" >}}
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user