mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-15 08:17:09 +00:00
1 file changed
+1
-1
+1
-1
@@ -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()))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user