Skip to content

Commit

Permalink
Fix typo data-templates.md
Browse files Browse the repository at this point in the history
  • Loading branch information
savtrip authored Feb 9, 2024
1 parent 0d3c2e2 commit d9a4c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/templates/data-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d9a4c66

Please sign in to comment.