slashdotdash / jekyll-lunr-js-search

[UNSUPPORTED] Jekyll + lunr.js = static websites with powerful full-text search using JavaScript
MIT License
548 stars 109 forks source link

Don't index pages/posts containing specific categories/tags, possibility to limit shown results #100

Open lorenzschmid opened 8 years ago

lorenzschmid commented 8 years ago

Last PR for a while I hope ;) This one adds the following functionalities:

The first functionality is defined in the _config.yml file with the excludes property which new is a hash and contains three keys:

Still, using the excludes property as an array (as done until now) it will automatically be "transferred" to the new, hash-based configuration and therefore not break any older system.