Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-06-16 08:22:11 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-06-16 08:22:11 +0300
commit604cfffc5b3903bc4596bf541bf4b970ea478525 (patch)
tree0e7f7ec4c82b920a8392ac50c7705cd7f3ab0a3a /docs/content/en/templates
parentd863dde6c653700fb540d7e4dd6605c7186f59da (diff)
parent475f87f685439de0f907a9ffc29bfd1361eb1c59 (diff)
Merge commit '475f87f685439de0f907a9ffc29bfd1361eb1c59'
Diffstat (limited to 'docs/content/en/templates')
-rw-r--r--docs/content/en/templates/data-templates.md2
-rw-r--r--docs/content/en/templates/files.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/en/templates/data-templates.md b/docs/content/en/templates/data-templates.md
index b5a293029..bd1ed6d76 100644
--- a/docs/content/en/templates/data-templates.md
+++ b/docs/content/en/templates/data-templates.md
@@ -112,7 +112,7 @@ You can use the following code to render the `Short Description` in your layout:
<div>Short Description of {{.Site.Data.User0123.Name}}: <p>{{ index .Site.Data.User0123 "Short Description" | markdownify }}</p></div>
```
-Note the use of the [`markdownify` template function][markdownify]. This will send the description through the Blackfriday Markdown rendering engine.
+Note the use of the [`markdownify` template function][markdownify]. This will send the description through the Markdown rendering engine.
## Get Remote Data
diff --git a/docs/content/en/templates/files.md b/docs/content/en/templates/files.md
index a448d7908..c2de11292 100644
--- a/docs/content/en/templates/files.md
+++ b/docs/content/en/templates/files.md
@@ -43,7 +43,7 @@ To use the `readFile` function in your templates, make sure the path is relative
### `readFile` Example: Add a Project File to Content
-As `readFile` is a function, it is only available to you in your templates and not your content. However, we can create a simple [shortcode template][sct] that calls `readFile`, passes the first argument through the function, and then allows an optional second argument to send the file through the Blackfriday markdown processor. The pattern for adding this shortcode to your content will be as follows:
+As `readFile` is a function, it is only available to you in your templates and not your content. However, we can create a simple [shortcode template][sct] that calls `readFile`, passes the first argument through the function, and then allows an optional second argument to send the file through the markdown processor. The pattern for adding this shortcode to your content will be as follows:
```
{{</* readfile file="/path/to/local/file.txt" markdown="true" */>}}