dgrigg / hugo-lunr

Node module for creating lunr.js search indexes for static Hugo sites
71 stars 18 forks source link

Flag/API methods for excluding directories and file reading options #5

Open joshkadis opened 7 years ago

joshkadis commented 7 years ago

--excludes and HugoLunr.setExcludes() take an array of glob patterns to ignore when calling glob.sync()

--fileopts and HugoLunr.setFileOpts() give you some options when reading content files for the index.

clburlison commented 7 years ago

@joshkadis it looks like this repo hasn't been updated in a while you might have better luck getting this merged under @gwleclerc 's fork.