Commit Graph

18 Commits

Author SHA1 Message Date
Jacky Zhao
bcc3196abd feat: add support for semantic search using operand 2022-07-31 12:16:36 -07:00
Jacky Zhao
71488dec88 refactor: move search utils to util.js 2022-07-31 10:54:23 -07:00
Claudio Yanes
58b2d1dda9 Add attribute property to scripts from jsdelivr
Adding the integrity attribute protects the website (by refusing to load
the script) against malicious modifications of the script
in the case of jsdelivr gets hacked
2022-03-04 03:34:45 +00:00
Claudio Yanes
6846d314d6 Move css and js to appropriate files
Having the CSS and JS in the html template produces pages larger
than necessary, as each page need to contain all the js/css.
Separating them in appropriate files allow the browser to just download
them once and use them for all the pages. This is even more effective
with an aggressive cache policy for the js and css, something that can
be done without fear thanks to the implemented cache-busting.
Also, having then in separate files allows us to use Hugo pipelines
for minimizing the code.
2022-03-04 02:07:51 +00:00
Jacky Zhao
3b998a320b fix: relink search button (move outside content load listener) 2022-02-22 13:36:08 -05:00
Jacky Zhao
fdf1d9bbe3 feat: dynamically fetch indices 2022-02-15 19:39:14 -05:00
Jacky Zhao
671fe795b2 popover implementation 2022-01-03 13:18:31 -05:00
Jacky Zhao
470cce1866 fix search styling 2022-01-02 19:49:41 -05:00
Jacky Zhao
42a11e3f39 add makefile, fix link padding, test capitalization 2021-12-25 23:45:30 -05:00
Jacky Zhao
b5643bf747 add toLowerCase to id 2021-12-24 09:48:22 -05:00
Jacky Zhao
ab17ca5816 better search, fix spacing support, bump hugo-obsidian 2021-11-20 22:53:26 -08:00
Jacky Zhao
e55361d476 search patch 2021-10-31 09:59:38 -07:00
Jacky Zhao
555f293801 more search improvements 2021-10-30 23:27:33 -07:00
Jacky Zhao
8c74061ea2 search fix 2021-10-25 15:00:55 -07:00
Jacky Zhao
afaf25ba45 forgot string lol 2021-10-24 23:32:55 -07:00
Jacky Zhao
8e27c78c1f docs updates, add search to main page, fix redir bug 2021-10-24 23:31:09 -07:00
Jacky Zhao
bbfbe2ed90 search improvements 2021-10-24 23:17:13 -07:00
jackyzha0
1c851271ea add search support 2021-08-27 14:08:11 -04:00