Site search can be configured in your _config.yml
by setting search_enabled
.
search_enabled: true
For a page to be indexed, it must meet two criteria:
It must produce HTML content.
This means markdown/text/etc… files are included while things like asset files are not.
The pages front matter
must include a non-empty title
property.
Example
---
id: my-doc
title: My Searchable Documenet
---
## My Document