ref: 3e421bd47cd35061df89c1c127ec8fa4ae368449
parent: 102876033113a2a6423302bc8697f114a04460b9
author: Bjørn Erik Pedersen <[email protected]>
date: Thu Apr 18 05:25:40 EDT 2019
commands: Replace IsDraft with Draft in list command Fixes #5873
--- a/commands/list.go
+++ b/commands/list.go
@@ -70,7 +70,7 @@
}
for _, p := range sites.Pages() {
- if p.IsDraft() {
+ if p.Draft() {
jww.FEEDBACK.Println(filepath.Join(p.File().Dir(), p.File().LogicalName()))
}