summaryrefslogtreecommitdiffstats
path: root/commands/import_jekyll.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/import_jekyll.go')
-rw-r--r--commands/import_jekyll.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/commands/import_jekyll.go b/commands/import_jekyll.go
index 3d89fee0d..98094dbb7 100644
--- a/commands/import_jekyll.go
+++ b/commands/import_jekyll.go
@@ -468,7 +468,6 @@ func convertJekyllPost(s *hugolib.Site, path, relPath, targetDir string, draft b
return err
}
- page.SetDir(targetParentDir)
page.SetSourceContent([]byte(content))
page.SetSourceMetaData(newmetadata, parser.FormatToLeadRune("yaml"))
page.SaveSourceAs(targetFile)