mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
Remove now superfluous conditional
This commit is contained in:
@@ -258,11 +258,9 @@ func copyStatic() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if themeDir != "" {
|
// Copy Static to Destination
|
||||||
// Copy Static to Destination
|
jww.INFO.Println("syncing from", themeDir, "to", publishDir)
|
||||||
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))
|
||||||
utils.CheckErr(syncer.Sync(publishDir, themeDir), fmt.Sprintf("Error copying static files of theme to %s", publishDir))
|
|
||||||
}
|
|
||||||
|
|
||||||
// Copy Static to Destination
|
// Copy Static to Destination
|
||||||
jww.INFO.Println("syncing from", staticDir, "to", publishDir)
|
jww.INFO.Println("syncing from", staticDir, "to", publishDir)
|
||||||
|
Reference in New Issue
Block a user