Commits

Thibault North committed a761274

Specify how to use mutli-lang

Comments (0)

Files changed (1)

 configuration file style][pyconf]. They are delimited from the page's content
 by a line with 3 or more dashes.
 
+
+With the appropriate hook, a page can be translated in various languages. The latter are delimited by the 
+directive `lang:somelang`. The associated title variable `title_somelang` can be
+used in tandem. 
+
+
 `input/stuff/news.md`:
 
     title: Hot News
     ---
     Here are some news about {{ page.foobar }}.
     Did I say {% print(page.foobar) %}?
+    
+    lang: fr
+    Voici quelques nouvelles a propos de {{ page.foobar }}.
+    Ai-je bien dit {% print(page.foobar) %} ?
 
 That way you can also set a page's title explicitly, instead of using the file
 name. Other useful attributes to set are *description* and *keywords*, which