getgrav / grav-plugin-simplesearch

Grav SimpleSearch Plugin
https://getgrav.org
MIT License
44 stars 55 forks source link

Search pages not visible and routable #200

Closed Jogai closed 1 year ago

Jogai commented 1 year ago

The search does not return pages that have both visible and routable set to false. Is there something I can do to fix that? I have a lot of pages and they should not be visible in the menu, but still be searchable.

rhukster commented 1 year ago

the routable: false means they can't be reached, so a search result would have nothing it could link to. That's why it's internally skipped.

Jogai commented 1 year ago

Makes sense. I use it as a phonebook, so the entries dont need their own page. But I can disable the link in the templates. Thank you for the fast answer.