Closed robbiejaeger closed 7 years ago
I was overcomplicating things. I just needed:
algolia:
excluded_files:
- index.html
- calendars/index.html
- archive
Thanks for raising the issue, I might make the README clearer by adding this example into it.
I would like to exclude files from being indexed in my Jekyll site based on the directory the files are in. There are too many files in some directories to exclude them one-by-one. I have tried specifying this in my
_config.yml
file, but it does not seem to work:archive
is a directory at the root of my Jekyll project, and it contains many files. It would be great to exclude all of the files inarchive
using some kind of wildcard or regex.