mirror of https://github.com/thangisme/notes.git
syntax error
This commit is contained in:
parent
900639b02c
commit
ff106641b0
|
@ -57,7 +57,7 @@ function initSearch() {
|
||||||
lunr.tokenizer.separator = {{ site.search_tokenizer_separator }}
|
lunr.tokenizer.separator = {{ site.search_tokenizer_separator }}
|
||||||
{% else %}
|
{% else %}
|
||||||
lunr.tokenizer.separator = /[\s\-/]+/
|
lunr.tokenizer.separator = /[\s\-/]+/
|
||||||
{% end %}
|
{% endif %}
|
||||||
|
|
||||||
var index = lunr(function () {
|
var index = lunr(function () {
|
||||||
this.ref('id');
|
this.ref('id');
|
||||||
|
|
Loading…
Reference in New Issue