docs: Fix .Data.Pages range in sample

This commit is contained in:
Rachel Simone Weil authored and digitalcraftsman committed 2017-04-16 13:22:24 +02:00
1 parent 3b81165796
commit 311ed72012
1 file changed
+1 -1
+1 -1
View File
@@ -255,7 +255,7 @@ The below example sorts a list of posts by their rating.
If the frontmatter field of interest is nested beneath another field, you can
also get it:
{{ range (.Date.Pages.ByParam "author.last_name") }}
{{ range (.Data.Pages.ByParam "author.last_name") }}
<!-- ... -->
{{ end }}