Commit Graph

16 Commits

Author SHA1 Message Date
Claudio Yanes
8779e72c77 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
1313bd9779 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
cdc4f1a840 fix: relink search button (move outside content load listener) 2022-02-22 13:36:08 -05:00
Jacky Zhao
fcd5d2807d feat: dynamically fetch indices 2022-02-15 19:39:14 -05:00
Jacky Zhao
4a3c4fdef5 popover implementation 2022-01-03 13:18:31 -05:00
Jacky Zhao
7507fd2991 fix search styling 2022-01-02 19:49:41 -05:00
Jacky Zhao
43837f9e2e add makefile, fix link padding, test capitalization 2021-12-25 23:45:30 -05:00
Jacky Zhao
5bd5642c99 add toLowerCase to id 2021-12-24 09:48:22 -05:00
Jacky Zhao
48eb9ebc5f better search, fix spacing support, bump hugo-obsidian 2021-11-20 22:53:26 -08:00
Jacky Zhao
8ca31df3f2 search patch 2021-10-31 09:59:38 -07:00
Jacky Zhao
df23b99951 more search improvements 2021-10-30 23:27:33 -07:00
Jacky Zhao
f7b89db8ee search fix 2021-10-25 15:00:55 -07:00
Jacky Zhao
f56642f13c forgot string lol 2021-10-24 23:32:55 -07:00
Jacky Zhao
22a9c0ddfc docs updates, add search to main page, fix redir bug 2021-10-24 23:31:09 -07:00
Jacky Zhao
6fd19069de search improvements 2021-10-24 23:17:13 -07:00
jackyzha0
1c851271ea add search support 2021-08-27 14:08:11 -04:00