commit b5e32eb60993b4656918af2c959ae217a68c461e
parent 66ec6305f6cb450ddf9c489854146bac02f7dca1
Author: Rachel Simone Weil <partytimehexcellent@gmail.com>
Date: Sun, 16 Apr 2017 00:51:57 -0500
docs: Fix .Data.Pages range in sample
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/content/templates/list.md b/docs/content/templates/list.md
@@ -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 }}