1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Remove now superfluous conditional

This commit is contained in:
bep
2015-02-12 00:09:04 +01:00
parent 8ed67169ed
commit 1217632307

View File

@ -258,11 +258,9 @@ 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", 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)