mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-10 17:04:49 -04:00
Fix typo data-templates.md
This commit is contained in:
parent
0d3c2e2c32
commit
d9a4c66aef
@ -127,7 +127,7 @@ Achievements:
|
|||||||
You can use the following code to render the `Short Description` in your layout:
|
You can use the following code to render the `Short Description` in your layout:
|
||||||
|
|
||||||
```go-html-template
|
```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.
|
Note the use of the [`markdownify`] function. This will send the description through the Markdown rendering engine.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user