Skip to content

Commit 5e3941d

Browse files
authored
Fix typos
1 parent 748bf06 commit 5e3941d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎content/en/functions/templates/Defer.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ key (`string`)
7777
: The key to use for the deferred template. This will, combined with a hash of the template content, be used as a cache key. If this is not set, Hugo will execute the deferred template on every render. This is not what you want for shared resources like CSS and JavaScript.
7878

7979
data (`map`)
80-
: Optional map to pass as data the deferred template. This will be available in the deferred template as `.` or `$`.
80+
: Optional map to pass as data to the deferred template. This will be available in the deferred template as `.` or `$`.
8181

8282

8383
```go-html-template
@@ -92,4 +92,4 @@ I18n Outside: {{ i18n "hello" }}
9292
{{ end }}
9393
```
9494

95-
The [Output Format](/templates/output-formats/), [Site](/methods/page/site/), and [language](/methods/site/language) will be the same, even if the execution is deferred. In the example above, this means that the `site.Language.Lang` and `.RelPermalink` will be the same on the inside and the outside the deferred template.
95+
The [Output Format](/templates/output-formats/), [Site](/methods/page/site/), and [language](/methods/site/language) will be the same, even if the execution is deferred. In the example above, this means that the `site.Language.Lang` and `.RelPermalink` will be the same on the inside and the outside of the deferred template.

0 commit comments

Comments
 (0)