From d9a4c66aef98c28b9c8588fc619b103907e19c29 Mon Sep 17 00:00:00 2001 From: Sav Tripodi <42227195+savtrip@users.noreply.github.com> Date: Sat, 10 Feb 2024 03:40:18 +1030 Subject: [PATCH] Fix typo data-templates.md --- content/en/templates/data-templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/templates/data-templates.md b/content/en/templates/data-templates.md index b862f727e..435bd70b2 100644 --- a/content/en/templates/data-templates.md +++ b/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 -
Short Description of {{ .Site.Data.User0123.Name }}:

{{ index .Site.Data.User0123 "Short Description" | markdownify }}

+
Short Description of {{ .Site.Data.user0123.Name }}:

{{ index .Site.Data.user0123 "Short Description" | markdownify }}

``` Note the use of the [`markdownify`] function. This will send the description through the Markdown rendering engine.