Reset translation slice on rebuild
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 25 Jul 2016 21:38:37 +0000 (23:38 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 6 Sep 2016 15:32:16 +0000 (18:32 +0300)
commit618948e4a83665f8355b01d8a3f7a7186e6bd3eb
treeb712c4d7520738eb706e0a785c49d29711fa5a42
parentc447b7dd6efcb662f177ad0c9037133361ed74e3
Reset translation slice on rebuild

Also add all translations, including the current, to the slice. We filter later.
hugolib/site.go
hugolib/translations.go