Copy static dir files without theme's static dir
authorTatsushi Demachi <tdemachi@gmail.com>
Tue, 1 Dec 2015 14:53:27 +0000 (23:53 +0900)
committerAnthony Fok <foka@debian.org>
Tue, 1 Dec 2015 17:01:21 +0000 (10:01 -0700)
commit6c8103144fc7b65251d2ba26eb23630bc96807f0
tree8ca2cef1709e53435cfc41d8d203987a12426a83
parentc5e68ba197d5f467e213447faa10e8bb72580cea
Copy static dir files without theme's static dir

Hugo command doesn't copy site's "static" directory files to "public"
directory if a specified theme doesn't have "static" directory because
theme's "static" directory checking always returns an error.

This fixes it by just showing a warning message about theme's "static"
directory absence and not skipping following processes.

Fix #1655
commands/hugo.go