mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-09 04:27:48 -04:00
Put back static theme conditional
This commit is contained in:
parent
d10e05f2e3
commit
d6f81c7346
@ -258,9 +258,11 @@ func copyStatic() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy Static to Destination
|
if themeDir != "" {
|
||||||
jww.INFO.Println("syncing from", themeDir, "to", publishDir)
|
// Copy Static to Destination
|
||||||
utils.CheckErr(syncer.Sync(publishDir, themeDir), fmt.Sprintf("Error copying static files of theme to %s", 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))
|
||||||
|
}
|
||||||
|
|
||||||
// Copy Static to Destination
|
// Copy Static to Destination
|
||||||
jww.INFO.Println("syncing from", staticDir, "to", publishDir)
|
jww.INFO.Println("syncing from", staticDir, "to", publishDir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user