Fix behavior to index all documents
All checks were successful
🛠️ Build / build (push) Successful in 1m38s
🚀 Publish / publish (push) Successful in 10m5s
🧪 Test / test (push) Successful in 6m55s

This commit is contained in:
James Mills 2025-10-04 13:52:47 +10:00
parent f0ff64dac6
commit 8beaad4e53
Signed by: prologic
GPG Key ID: AC4C014F1440EBD6

View File

@ -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"], "/"),