mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
Fix .Date.Pages typos across the board
This commit is contained in:
commit
b1ce0d9861
2 files changed
+2
-2
No files matched your search
@@ -209,7 +209,7 @@ also get it:
|
|||||||
|
|
||||||
{{% code file="layouts/partials/by-nested-param.html" %}}
|
{{% code file="layouts/partials/by-nested-param.html" %}}
|
||||||
```html
|
```html
|
||||||
{{ range (.Date.Pages.ByParam "author.last_name") }}
|
{{ range (.Data.Pages.ByParam "author.last_name") }}
|
||||||
<!-- ... -->
|
<!-- ... -->
|
||||||
{{ end }}
|
{{ end }}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ When developing a [homepage][], what does one of the pages you're looping throug
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
```
|
```
|
||||||
|
|
||||||
{{% note "`.Date.Pages` on the Homepage" %}}
|
{{% note "`.Data.Pages` on the Homepage" %}}
|
||||||
`.Data.Pages` on the homepage is equivalent to `.Site.Pages`.
|
`.Data.Pages` on the homepage is equivalent to `.Site.Pages`.
|
||||||
{{% /note %}}
|
{{% /note %}}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user