1.0.5 • Published 8 years ago

hexo-generator-lunr v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

hexo-generator-lunr

Lunr index generator plugin for Hexo, compatible with Chinese.

How to use

In your _config.yml, add the following configs.

# lunr
## field - post | page | all, default is post
## fulltext - If fulltext is true, lunr will index the whole post's `content`, or `title` and `excerpt` will be indexed only. If you use full text index, the generation will be slow.
## path - where should lunr put it's indexed data
lunr:
  field: all
  fulltext: true
  path: assets/lunr/

About Lunr.js

Simple full-text search in your browser

For more details about Lunr.js, please check out the Lunr.js official site.

In order to make Lunr to be compatible with Chinese, hexo-generator-lunr uses this forked version mamboer/lunr.js.

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago