summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/render.md
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-07-18 11:05:58 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-07-18 11:05:58 +0200
commit59ebc83d72b09d28d62d8600517c73a4ffe70c66 (patch)
tree1432d4fac5a6ff28ef815e6d6bb2ecb24b503c35 /docs/content/en/functions/render.md
parentebe4d39f175f73e4f130972cb3d74ef0af5d5761 (diff)
parentb6b37a1f00f808f3c0d2715f65ca2d3091f36495 (diff)
Diffstat (limited to 'docs/content/en/functions/render.md')
-rw-r--r--docs/content/en/functions/render.md2
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 }}
```