hugo/commands
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
..
benchmark.go Add multilingual support in Hugo 2016-09-06 18:32:15 +03:00
check.go
convert.go
gen.go
genautocomplete.go Fix example for autocomplete 2016-06-22 13:59:53 +02:00
gendoc.go
genman.go
hugo.go Add multilingual support in Hugo 2016-09-06 18:32:15 +03:00
hugo_windows.go
import_jekyll.go
import_jekyll_test.go
limit_darwin.go
limit_others.go
list.go Add multilingual support in Hugo 2016-09-06 18:32:15 +03:00
list_config.go Make config flag global 2016-07-07 18:06:48 +02:00
multilingual.go Add multilingual support in Hugo 2016-09-06 18:32:15 +03:00
new.go Switch to a more up to date TOML library 2016-08-20 20:33:06 +01:00
new_test.go
server.go Fix for meminterval not using specified interval 2016-08-02 19:48:07 +02:00
server_test.go commands: Allow schema-less baseURL on command line 2016-06-29 23:08:55 -06:00
undraft.go Use the Afero source fs where relevant 2016-07-30 15:37:03 +02:00
undraft_test.go
version.go