From b5e32eb60993b4656918af2c959ae217a68c461e Mon Sep 17 00:00:00 2001 From: Rachel Simone Weil Date: Sun, 16 Apr 2017 00:51:57 -0500 Subject: [PATCH] docs: Fix .Data.Pages range in sample --- docs/content/templates/list.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/templates/list.md b/docs/content/templates/list.md index 0c877bd2b..ed006c576 100644 --- 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 }}