hugo/docs/content/templates
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
..
404.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
ace.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
amber.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
blocks.md docs: Add location of block template 2016-08-20 21:54:14 +02:00
content.md docs: Fix typo in templates/content.md 2016-05-04 21:40:22 +02:00
debugging.md Add debugging steps for no variables defined 2016-03-12 21:44:50 +13:00
functions.md Add multilingual support in Hugo 2016-09-06 18:32:15 +03:00
go-templates.md docs: Fix links in the documentation 2016-05-04 21:35:24 +02:00
homepage.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
list.md docs: Example of how to use Order by ExpiryDate 2016-06-14 15:45:26 +02:00
overview.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
partials.md docs: Correct spelling for "parameters" in partials.md 2016-08-29 12:25:53 +02:00
rss.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
sitemap.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
terms.md Add multilingual support in Hugo 2016-09-06 18:32:15 +03:00
variables.md Add multilingual support in Hugo 2016-09-06 18:32:15 +03:00
views.md docs: Document Go 1.6's new ability to trim whitespace 2016-04-09 13:21:23 +02:00