docs: Fix .Data.Pages range in sample - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit b5e32eb60993b4656918af2c959ae217a68c461e
(DIR) parent 66ec6305f6cb450ddf9c489854146bac02f7dca1
(HTM) Author: Rachel Simone Weil <partytimehexcellent@gmail.com>
Date: Sun, 16 Apr 2017 00:51:57 -0500
docs: Fix .Data.Pages range in sample
Diffstat:
M docs/content/templates/list.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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 }}