Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
chore: set searchable attributes from config
Browse files Browse the repository at this point in the history
Based on a warning in the CI logs, searchableAttributes
can be adjusted here,
without needing to go through the website.
In fact, this method seems to be encouraged, and that makes sense:
it keeps the attrs close to the code where they are most meaningful.
  • Loading branch information
Galen Rice committed Aug 31, 2022
1 parent f486fd1 commit 81e55a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@ algolia:
search_api_key: "75093c3e6d1abf1e90085b0e99d8d2cd"
# This API key is safe to be public facing, as it has read-only access to Algolia.
index_name: "dev_recipes_riceprower_com"
settings:
searchableAttributes:
- title
- subtitle
- ingredients, directions, footnotes
- content

0 comments on commit 81e55a6

Please sign in to comment.