hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 441476b6c509b480cad15eccbd83ab496c38e694
parent ec34ed0520a2c43b751683766002139095954253
Author: Asif Mehedi <asif.mehedi@live.com>
Date:   Thu, 22 Dec 2016 22:19:10 +0600

docs: Convert code in multilingual.md to TOML

There was a mix of TOML and YAML in the first example config.
Diffstat:
Mdocs/content/content/multilingual.md | 31++++++++++++++++---------------
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/docs/content/content/multilingual.md b/docs/content/content/multilingual.md
@@ -14,25 +14,26 @@ Hugo supports multiple languages side-by-side (added in `Hugo 0.17`). Define the
 Example:
 
 ```
-defaultContentLanguage = "en"
+DefaultContentLanguage = "en"
+copyright = "Everything is mine"
 
-Languages:
-  en:
-    weight: 1
-    title: "My blog"
-    params:
-      linkedin: "english-link"
-  fr:
-    weight: 2
-    title: "Mon blog"
-    params:
-      linkedin: "lien-francais"
-    copyright: "Tout est à moi"
+[Languages]
+[Languages.en]
+title = "My blog"
+weight = 1
+[Languages.en.params]
+linkedin = "english-link"
+
+[Languages.fr]
+copyright = "Tout est à moi"
+title = "Mon blog"
+weight = 2
+[Languages.fr.params]
+linkedin = "lien-francais"
 
-copyright: "Everything is mine"
 ```
 
-Anything not defined in a `[lang]:` block will fall back to the global
+Anything not defined in a `[Languages]` block will fall back to the global
 value for that key (like `copyright` for the English (`en`) language in this example).
 
 With the config above, all content, sitemap, RSS feeds, paginations