hugo/docs
Alexandre Bourget ec33732fbe Add multilingual support in Hugo
Implements:
* support to render:
  * content/post/whatever.en.md to /en/2015/12/22/whatever/index.html
  * content/post/whatever.fr.md to /fr/2015/12/22/whatever/index.html
* gets enabled when `Multilingual:` is specified in config.
* support having language switchers in templates, that know
  where the translated page is (with .Page.Translations)
  (when you're on /en/about/, you can have a "Francais" link pointing to
   /fr/a-propos/)
  * all translations are in the `.Page.Translations` map, including the current one.
* easily tweak themes to support Multilingual mode
* renders in a single swift, no need for two config files.

Adds a couple of variables useful for multilingual sites

Adds documentation (content/multilingual.md)

Added language prefixing for all URL generation/permalinking see in the
code base.

Implements i18n. Leverages the great github.com/nicksnyder/go-i18n lib.. thanks Nick.
* Adds "i18n" and "T" template functions..
2016-09-06 18:32:15 +03:00
..
archetypes [Docs] Copyediting 2015-01-28 18:02:40 -07:00
content Add multilingual support in Hugo 2016-09-06 18:32:15 +03:00
data docs: Add one more quote 2016-04-08 00:06:39 +02:00
layouts docs: Add 404 template 2016-07-14 00:01:06 +02:00
static docs: Add open.cinegy.com to the showcase 2016-09-06 14:32:33 +02:00
.gitignore Add ToC to long pages 2015-05-11 18:39:42 +02:00
config.toml Docs: Enable plain id anchors 2016-01-15 12:55:35 +01:00