Fix .Data.Pages range in sample

See spf13/hugo#3350
This commit is contained in:
digitalcraftsman
2017-04-16 13:26:51 +02:00
committed by GitHub
parent fcca2cad5d
commit ed0c3ec4ef
+1 -1
View File
@@ -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 }}
```