mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-24 02:41:46 +01:00
4764a92df3
* refactor(search): avoid issue with one character keyword closes https://github.com/CaiJimmy/hugo-theme-stack/issues/184 * Remove keyword sorts * fix typo: secion -> section * fix(search): avoid matching html entity * Use | operator to concatenate keywords Idea from https://github.com/CaiJimmy/hugo-theme-stack/pull/436 * Add missing `matchCount` * Limit preview length * Don't add ellipsis to title * add comment to `processMatches` * Initialize DOMParser only once * Remove marker function * Deal with blank search * Use const keyword for constant arrays
12 lines
No EOL
201 B
JSON
12 lines
No EOL
201 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"*": [
|
|
"*"
|
|
]
|
|
},
|
|
"lib": ["es2020", "dom"],
|
|
"jsx": "preserve"
|
|
}
|
|
} |