Commit Graph

15 Commits

Author SHA1 Message Date
Jimmy Cai
d256daeb0a add comment to processMatches 2022-01-18 20:05:58 +00:00
Jimmy Cai
d4c484998e Don't add ellipsis to title 2022-01-18 19:28:06 +00:00
Jimmy Cai
0c19a0370b Limit preview length 2021-12-29 14:08:03 +00:00
Jimmy Cai
d0df82e8c3 Add missing matchCount 2021-12-29 14:01:19 +00:00
Jimmy Cai
7593168032 Use | operator to concatenate keywords
Idea from https://github.com/CaiJimmy/hugo-theme-stack/pull/436
2021-12-29 13:56:21 +00:00
Jimmy Cai
d55e4f5e2d fix(search): avoid matching html entity 2021-12-29 10:17:46 +00:00
Jimmy Cai
05a5425951 fix typo: secion -> section 2021-12-28 23:23:03 +00:00
Jimmy Cai
8f8249e3ae Remove keyword sorts 2021-12-28 23:22:38 +00:00
Jimmy Cai
dda0beadcb refactor(search): avoid issue with one character keyword
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/184
2021-12-28 23:18:59 +00:00
Jimmy Cai
c018f4967a feat(search): i18n support 2020-11-06 11:49:30 +01:00
Jimmy Cai
f5d45458fd refactor(search): create Search class 2020-11-06 11:33:51 +01:00
Jimmy Cai
2736fec285 refactor: create createElement.ts 2020-11-06 11:12:48 +01:00
Jimmy Cai
84a15e1604
feat(search): return results at typing 2020-10-04 15:53:27 +02:00
Jimmy Cai
6e48765d82
fix(search): HTML escape issue 2020-09-26 22:50:23 +02:00
Jimmy Cai
e5f96c8762
feat: add search template 2020-09-26 11:40:33 +02:00