From ed0c3ec4ef37892377cf9474606724a695c1d88f Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Sun, 16 Apr 2017 13:26:51 +0200 Subject: [PATCH] Fix .Data.Pages range in sample See spf13/hugo#3350 --- content/templates/lists.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/templates/lists.md b/content/templates/lists.md index 60f667c3d..a83f0a1bc 100644 --- a/content/templates/lists.md +++ b/content/templates/lists.md @@ -355,7 +355,7 @@ also get it: {{% code file="layouts/partials/by-nested-param.html" %}} ```html -{{ range (.Date.Pages.ByParam "author.last_name") }} +{{ range (.Data.Pages.ByParam "author.last_name") }} {{ end }} ```