shithub: hugo

Download patch

ref: 7241253c222f9e6328b63ea4a18b5890859270ff
parent: 1e79900860a9cd725236d9f98445153db1c9c2d5
author: Sebastian G <[email protected]>
date: Fri Jan 27 10:15:55 EST 2017

docs: Multilingual documentation for frontmatter params

Fixes #2990

--- a/docs/content/content/multilingual.md
+++ b/docs/content/content/multilingual.md
@@ -17,6 +17,9 @@
 DefaultContentLanguage = "en"
 copyright = "Everything is mine"
 
+[params.navigation]
+help  = "Help"
+
 [Languages]
 [Languages.en]
 title = "My blog"
@@ -30,6 +33,8 @@
 weight = 2
 [Languages.fr.params]
 linkedin = "lien-francais"
+[Languages.fr.navigation]
+help  = "Aide"
 
 ```
 
@@ -38,6 +43,8 @@
 
 With the config above, all content, sitemap, RSS feeds, paginations
 and taxonomy pages will be rendered below `/` in English (your default content language), and below `/fr` in French.
+
+When working with params in frontmatter pages, omit the `params` in the key for the translation.
 
 If you want all of the languages to be put below their respective language code, enable `defaultContentLanguageInSubdir: true` in your configuration.