feat: make search optional

This commit is contained in:
Brady Stroud [SSW]
2021-06-24 22:49:06 +10:00
committed by GitHub
parent af6ae072bc
commit 58bfa2d96e
5 changed files with 132 additions and 8 deletions

View File

@ -159,6 +159,20 @@ When a translation for the selected locale is missing the English one will be us
show_preview_links: false
```
## Search
The search functionally requires loading all collection(s) entries, which can exhaust rate limits on large repositories.
It can be disabled by setting the top level `search` property to `false`.
Defaults to `true`
**Example:**
```yaml
search: false
```
## Slug Type
The `slug` option allows you to change how filenames for entries are created and sanitized. It also applies to filenames of media inserted via the default media library.\