diff --git a/hyde/generator.py b/hyde/generator.py index 0a65740..8550785 100644 --- a/hyde/generator.py +++ b/hyde/generator.py @@ -225,5 +225,6 @@ class Generator(object): self.events.begin_binary_resource(resource) target = File(self.site.config.deploy_root_path.child( resource.relative_deploy_path)) + target.parent.make() resource.source_file.copy_to(target) self.events.binary_resource_complete(resource)