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
path: root/docs
diff options
context:
space:
mode:
authorPascal Aubort <pascal.aubort@gmail.com>2016-09-08 16:14:53 +0300
committerdigitalcraftsman <digitalcraftsman@protonmail.com>2016-09-08 16:54:26 +0300
commit5ef45bec63b157eb8e1bd3a6a4c6cb1e98a43a94 (patch)
treeacd157a8715cbc6cf7bccf9830c5b2989996024b /docs
parent97c57fe37a4abf05f1f7050577a2bfd758a2563f (diff)
docs: Fix typos in multilingual section
Diffstat (limited to 'docs')
-rw-r--r--docs/content/content/multilingual.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/content/multilingual.md b/docs/content/content/multilingual.md
index f151a40a4..cb19e1ee2 100644
--- a/docs/content/content/multilingual.md
+++ b/docs/content/content/multilingual.md
@@ -106,7 +106,7 @@ To create a list of links to translated content, use a template similar to this:
```
The above can be put in a `partial` and included in any template, be it for a content page or the home page. It will not print anything if there are no translations for a given page, or if it is -- in the case of the home page, section listing etc. -- a site with only one language.
-The above also uses the `i8n` func, see [Translation of strings](#translation-of-strings).
+The above also uses the `i18n` func, see [Translation of strings](#translation-of-strings).
### Translation of strings
@@ -125,7 +125,7 @@ This uses a definition like this one in `i18n/en-US.yaml`:
translation: "Home"
```
-Often you will want to use to the page variables in the translations strings. To do that, pass on the "." context when calling `18n`:
+Often you will want to use to the page variables in the translations strings. To do that, pass on the "." context when calling `i18n`:
```
{{ i18n "wordCount" . }}