diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-11-24 13:11:14 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-11-24 13:11:14 +0100 |
commit | dcfeed35c6e14c1ce593d23be9d2b89c66ce9bee (patch) | |
tree | a6ccf024dccb6ec1c7476c23cf5f30bf294e2f76 | |
parent | f9b4eb4f3968d32f45e0168c854e6b0c7f3a90b0 (diff) |
commands: Include drafts in convert command
Fixes #5457
-rw-r--r-- | commands/convert.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/convert.go b/commands/convert.go index b208f6cab..e8e3a0e32 100644 --- a/commands/convert.go +++ b/commands/convert.go @@ -111,6 +111,8 @@ func (cc *convertCmd) convertContents(format metadecoders.Format) error { return err } + c.Cfg.Set("buildDrafts", true) + h, err := hugolib.NewHugoSites(*c.DepsCfg) if err != nil { return err |