diff --git a/content/templates/ordering-and-grouping.md b/content/templates/ordering-and-grouping.md index 8b37d7f6d..3b70f26e5 100644 --- a/content/templates/ordering-and-grouping.md +++ b/content/templates/ordering-and-grouping.md @@ -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 }} ``` diff --git a/content/templates/template-debugging.md b/content/templates/template-debugging.md index 9a2fbc327..88d9bce7c 100644 --- a/content/templates/template-debugging.md +++ b/content/templates/template-debugging.md @@ -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 %}}