Add Translations and AllTranslations to Node
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 26 Jul 2016 17:04:10 +0000 (19:04 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 6 Sep 2016 15:32:16 +0000 (18:32 +0300)
commit3a02807970e792299a80738befe32eea8d10984d
treef0886f9bf15e48280ac8bb69e1695831fcff5115
parent52bf8f90958e75007ca0a2761edc6ca331ca3280
Add Translations and AllTranslations to Node

This commit also consolidates URLs on Node vs Page, so now .Permalink should be interoperable.

Note that this implementations should be fairly short-livded, waiting for #2297, but the API should be stable.
hugolib/menu_test.go
hugolib/node.go
hugolib/page.go
hugolib/pagination.go
hugolib/site.go
hugolib/site_test.go
tpl/template_i18n.go