diff options
Diffstat (limited to 'commands/list.go')
-rw-r--r-- | commands/list.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/list.go b/commands/list.go index 99e9afe40..bdf34663f 100644 --- a/commands/list.go +++ b/commands/list.go @@ -70,7 +70,7 @@ List requires a subcommand, e.g. ` + "`hugo list drafts`.", } for _, p := range sites.Pages() { - if p.IsDraft() { + if p.Draft() { jww.FEEDBACK.Println(filepath.Join(p.File().Dir(), p.File().LogicalName())) } |