mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Squashed 'docs/' changes from 32356e4e..5be6fef0
5be6fef0 Fix typo, {{Content} should be {{.Content}} git-subtree-dir: docs git-subtree-split: 5be6fef0b00d06a0c780397c4f4ac8db31b56456
This commit is contained in:
parent
ba45da9d03
commit
7a89dce53b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ In addition to the standard [page variables][pagevars], the homepage template ha
|
|||
|
||||
## 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" >}}
|
||||
{{ define "main" }}
|
||||
|
|
Loading…
Reference in a new issue