mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 23:53:32 -05:00
docs: Fix .Data.Pages range in sample
This commit is contained in:
parent
66ec6305f6
commit
b5e32eb609
1 changed files with 1 additions and 1 deletions
|
@ -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
|
If the frontmatter field of interest is nested beneath another field, you can
|
||||||
also get it:
|
also get it:
|
||||||
|
|
||||||
{{ range (.Date.Pages.ByParam "author.last_name") }}
|
{{ range (.Data.Pages.ByParam "author.last_name") }}
|
||||||
<!-- ... -->
|
<!-- ... -->
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue