some minor changes for search

* change search weights
* change indentation for contents

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
newmemberlevels
Toshaan Bharvani 3 years ago
parent 5878432815
commit fd09731bb9

@ -1,4 +1,4 @@
summaryInclude=0;
summaryInclude=100;
var fuseOptions = {
shouldSort: true,
includeMatches: true,
@ -9,9 +9,9 @@ var fuseOptions = {
maxPatternLength: 32,
minMatchCharLength: 1,
keys: [
{ name: "title" , weight: 0.8 },
{ name: "title" , weight: 0.9 },
{ name: "tags" , weight: 0.7 },
{ name: "contents" , weight: 0.5 },
{ name: "tags" , weight: 0.3 },
{ name: "categories" , weight: 0.3 }
]
};

Loading…
Cancel
Save