diff --git a/dir.go b/dir.go index f236239..2a85fa1 100644 --- a/dir.go +++ b/dir.go @@ -214,11 +214,7 @@ func (d *Dir) process(cfg *Site, task *Task) error { // write writes the directory's contents to the provided destination path. func (d *Dir) write(dstDir string, task *Task) error { - // Create the directory dirPath := pathpkg.Join(dstDir, d.Path) - if err := os.MkdirAll(dirPath, 0755); err != nil { - return err - } // Write pages pages := d.Pages