Put back static theme conditional

This commit is contained in:
spf13 2015-02-14 18:30:15 -05:00
parent d10e05f2e3
commit d6f81c7346

View file

@ -258,9 +258,11 @@ func copyStatic() error {
return nil
}
if themeDir != "" {
// Copy Static to Destination
jww.INFO.Println("syncing from", themeDir, "to", publishDir)
utils.CheckErr(syncer.Sync(publishDir, themeDir), fmt.Sprintf("Error copying static files of theme to %s", publishDir))
}
// Copy Static to Destination
jww.INFO.Println("syncing from", staticDir, "to", publishDir)