Make hugo server -t work again
authorAnton Harniakou <anton.harniakou@gmail.com>
Sun, 13 Jan 2019 09:44:38 +0000 (12:44 +0300)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 13 Jan 2019 20:13:59 +0000 (20:13 +0000)
commitdb3c49d049193e0fc225fe4bdb95712c311d6615
tree6b888da6387d577a6ff9ccfc66935e79c42759d3
parente3cb8e6c7874d7dfe1d4d1c7f5c9765b681fb647
Make hugo server -t work again

This commit solves an issue where hugo would ignore the cli -t flag
and only use a theme defined in config.toml.

Also allow -t flag to accept a string slice.

Closes #5569
Closes #5061
Related #4868
commands/commands.go
commands/commands_test.go
hugolib/paths/paths.go