Commit graph

20 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
fcd5d2807d feat: dynamically fetch indices 2022-02-15 19:39:14 -05:00
Jacky Zhao
57ebf4c21c underscore fix, fix relative path being weird for graph 2022-01-10 13:08:50 -08:00
Jacky Zhao
6f9a29c174 various path fixes 2022-01-10 08:49:29 -08:00
Jacky Zhao
4a3c4fdef5 popover implementation 2022-01-03 13:18:31 -05:00
Jacky Zhao
efeaf0f4e4 add pagination to section, fix graph linking 2021-12-27 20:16:21 -05:00
Jacky Zhao
1a8cdaad24 remove console.log 2021-12-27 19:43:01 -05:00
Jacky Zhao
39592347cc add graph depth config 2021-12-27 13:06:58 -05:00
Jacky Zhao
2ba01c8311 fix untitled #36 2021-12-24 15:51:37 -05:00
Jacky Zhao
56d2382c28 fix relative link styling, change graph and backlinks to refer to name rather than path 2021-12-23 14:05:27 -08:00
Jacky Zhao
de940d6a4b update graph redir 2021-10-26 17:06:00 -07:00
Blake Allen
9292de6333 remove unnecessary regex, use encodeuri for label instead of replace 2021-10-26 16:58:08 -07:00
Blake Allen
8eca1e60f7 change %20 in node labels to whitespace, change %20 in node hrefs to hyphen 2021-10-26 12:36:20 -07:00
Blake Allen
fc00ad5bff fix for notes with spaces not linking properly 2021-10-22 14:04:09 -07:00
jackyzha0
ccec4b30e7 config fixes 2021-07-22 15:27:38 -04:00
jackyzha0
6896cb007b proper backlink and graph display in footer 2021-07-18 13:02:53 -04:00
jackyzha0
672a641cec fix darkmode 2021-07-18 12:06:36 -04:00
jackyzha0
ea69050587 add base pages 2021-07-18 11:54:00 -04:00
jackyzha0
c01138a81c add base structure 2021-07-18 09:35:42 -04:00