| Age | Commit message (Collapse) | Author |
|
since it's not actually used, revert this commit if needed again in the futures
|
|
only for meta and link (not stylesheet) tags
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- https://github.com/krisk/Fuse/releases/tag/v6.5.3
|
|
- denoting we are using basic version
|
|
by implementing a map of lower case to camel case parameters
fixes: #556
|
|
|
|
|
|
refactor resultSet generation to fix duplicate items with large db
|
|
also load Search on window load
|
|
- fix menu element becoming inactive
change class active -> focus
- set input type seach #198
- add a reset func
- add script to clear searchbox
when clicked on X sign
|
|
-rm default opts,
- add ignoreLocation (to search everywhere not just 1st 60 chars)
- ref https://fusejs.io/concepts/scoring-theory.html#scoring-theory
|
|
|
|
- also use production ones which contains lesser redundant code
- https://fusejs.io/getting-started/different-builds.html#explanation-of-different-builds
|
|
also use set vars instead of fetching element again
|
|
credits: https://github.com/krisk/Fuse/releases/tag/v6.4.6
|
|
rm 'prevent mouseclick to change active element'
|
|
* set up basic actions on keypress
* add actions to perform conditionally
* add simple highlight animation
* prevent mouseclick to change active element
* clear input box on Escape
* click on Arrow Right
* clear results and focus search-input on esc
* refactor
|
|
* 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"]
|
|
|
|
* based on https://gist.github.com/cmod/5410eae147e4318164258742dd053993
* modified working for PaperMod
* fetches current lang index.json for search
* add fuse.js v6.4.3 LICENSE: Apache License 2.0
* bundled fastsearch and fusejs as search.js
Co-authored-by: Craig Mod <stuff@craigmod.com>
|
|
* credits : https://cdnjs.com/libraries/highlight.js
|
|
* credits : https://cdnjs.com/libraries/highlight.js
|
|
|
|
v9.15.6 -> v9.18.3
|
|
|