mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-01 11:12:37 +00:00
Fix .Date.Pages typos across the board
This commit is contained in:
@@ -209,7 +209,7 @@ also get it:
|
||||
|
||||
{{% code file="layouts/partials/by-nested-param.html" %}}
|
||||
```html
|
||||
{{ range (.Date.Pages.ByParam "author.last_name") }}
|
||||
{{ range (.Data.Pages.ByParam "author.last_name") }}
|
||||
<!-- ... -->
|
||||
{{ end }}
|
||||
```
|
||||
|
||||
@@ -57,7 +57,7 @@ When developing a [homepage][], what does one of the pages you're looping throug
|
||||
{{ end }}
|
||||
```
|
||||
|
||||
{{% note "`.Date.Pages` on the Homepage" %}}
|
||||
{{% note "`.Data.Pages` on the Homepage" %}}
|
||||
`.Data.Pages` on the homepage is equivalent to `.Site.Pages`.
|
||||
{{% /note %}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user