summaryrefslogtreecommitdiffstats
path: root/docs/content/en/templates/data-templates.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/templates/data-templates.md')
-rw-r--r--docs/content/en/templates/data-templates.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/en/templates/data-templates.md b/docs/content/en/templates/data-templates.md
index b862f727e..435bd70b2 100644
--- a/docs/content/en/templates/data-templates.md
+++ b/docs/content/en/templates/data-templates.md
@@ -127,7 +127,7 @@ Achievements:
You can use the following code to render the `Short Description` in your layout:
```go-html-template
-<div>Short Description of {{ .Site.Data.User0123.Name }}: <p>{{ index .Site.Data.User0123 "Short Description" | markdownify }}</p></div>
+<div>Short Description of {{ .Site.Data.user0123.Name }}: <p>{{ index .Site.Data.user0123 "Short Description" | markdownify }}</p></div>
```
Note the use of the [`markdownify`] function. This will send the description through the Markdown rendering engine.