From 311ed72012a95f1999d954d209ca5565d6e184fd 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 --- content/templates/list.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/templates/list.md b/content/templates/list.md index 0c877bd2b..ed006c576 100644 --- a/content/templates/list.md +++ b/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 }}