hugo-WonderMod/assets
Aditya Telange 77ff1e6b45
search: introduce loading custom fusejs options from site config #134
* refer https://fusejs.io/api/options.html for opts
* keys used can be some, all or none from
   ["title", "permalink", "summary", "content"]

in config.yml, add fuseOpts as shown below =>
  params:
    fuseOpts:
        isCaseSensitive: false
        shouldSort: true
        location: 0
        distance: 1000
        threshold: 0.4
        minMatchCharLength: 0
        keys: ["title", "permalink", "summary", "content"]
2020-12-15 18:57:42 +05:30
..
css shortcodes: figure: don't use h4 tag in figure captions (#127) 2020-12-15 17:52:04 +05:30
js search: introduce loading custom fusejs options from site config #134 2020-12-15 18:57:42 +05:30