mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
1028760331
commit
3e421bd47c
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ List requires a subcommand, e.g. ` + "`hugo list drafts`.",
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, p := range sites.Pages() {
|
for _, p := range sites.Pages() {
|
||||||
if p.IsDraft() {
|
if p.Draft() {
|
||||||
jww.FEEDBACK.Println(filepath.Join(p.File().Dir(), p.File().LogicalName()))
|
jww.FEEDBACK.Println(filepath.Join(p.File().Dir(), p.File().LogicalName()))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue