diff options
Diffstat (limited to 'docs/content/en/functions/render.md')
-rw-r--r-- | docs/content/en/functions/render.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/en/functions/render.md b/docs/content/en/functions/render.md index a4abfa81d..c76af39fe 100644 --- a/docs/content/en/functions/render.md +++ b/docs/content/en/functions/render.md @@ -26,7 +26,7 @@ This function is only available when applied to a single piece of content within This example could render a piece of content using the content view located at `/layouts/_default/summary.html`: ``` -{{ range .Data.Pages }} +{{ range .Pages }} {{ .Render "summary"}} {{ end }} ``` |