mirror of
https://git.mills.io/prologic/zs.git
synced 2026-06-12 19:59:19 -04:00
Fix behavior to index all documents
This commit is contained in:
@@ -150,11 +150,6 @@ var indexCmd = &cobra.Command{
|
||||
return nil
|
||||
}
|
||||
|
||||
// Skip drafts globally
|
||||
if strings.EqualFold(vars["draft"], "true") {
|
||||
return nil
|
||||
}
|
||||
|
||||
rec := IndexRecord{
|
||||
Path: filepath.ToSlash(path),
|
||||
URL: strings.TrimPrefix(vars["url"], "/"),
|
||||
|
||||
Reference in New Issue
Block a user