Skip to content

Commit

Permalink
docs: Fix .Data.Pages range in sample
Browse files Browse the repository at this point in the history
  • Loading branch information
hxlnt authored and digitalcraftsman committed Apr 16, 2017
1 parent 66ec630 commit b5e32eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/templates/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit b5e32eb

Please sign in to comment.