Rework the i18n template func handling
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 26 Jul 2016 12:44:37 +0000 (14:44 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 6 Sep 2016 15:32:16 +0000 (18:32 +0300)
commit52bf8f90958e75007ca0a2761edc6ca331ca3280
tree08779d102e2aa29010d93716c3f67821e2849b37
parent75dd596e6c38466fcb97a8b9dc9eb20fc2fb7fd6
Rework the i18n template func handling

Setting the language to use when loading the language bundles just doesn't work.
The template system is unfortanetely a global, and the last languate processed won ...
hugolib/i18n.go
hugolib/site.go
tpl/template_i18n.go