Only duplicate resource output in multihost mode
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 14 Aug 2018 10:04:17 +0000 (12:04 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 14 Aug 2018 10:04:17 +0000 (12:04 +0200)
commit56c61559b2a9f9c4cec3f6c6de9bcc5095a78b57
treed9ff8edaac9ccb64284bc28919609e0015c8ce3f
parent78f8475a054a6277d37f13329afd240b00dc9408
Only duplicate resource output in multihost mode

Yesterday's commit was a little too agressive.

This commit makes sure that the duplication of resources to public/en etc. is only performed in multihost mode.

See #5058
hugolib/paths/paths.go
hugolib/resource_chain_test.go