Commit Graph

23 Commits

Author SHA1 Message Date
Aiden Bai
018c55bd99 Remove unnecessary 'url' argument in graph.html 2022-05-03 09:22:51 -07:00
Jacky Zhao
516eeca853 cfg: make SPA optional 2022-05-03 10:43:22 -04:00
Aiden Bai
b4675a9282 Add router 2022-05-01 22:06:33 -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
fdf1d9bbe3 feat: dynamically fetch indices 2022-02-15 19:39:14 -05:00
Jacky Zhao
f268b9728f underscore fix, fix relative path being weird for graph 2022-01-10 13:08:50 -08:00
Jacky Zhao
2caba8f250 various path fixes 2022-01-10 08:49:29 -08:00
Jacky Zhao
671fe795b2 popover implementation 2022-01-03 13:18:31 -05:00
Jacky Zhao
722a8c645b add pagination to section, fix graph linking 2021-12-27 20:16:21 -05:00
Jacky Zhao
bc218f3d61 remove console.log 2021-12-27 19:43:01 -05:00
Jacky Zhao
000611b2ea add graph depth config 2021-12-27 13:06:58 -05:00
Jacky Zhao
c9400d06fa fix untitled #36 2021-12-24 15:51:37 -05:00
Jacky Zhao
cca56fbd2b 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
a7669d317f update graph redir 2021-10-26 17:06:00 -07:00
Blake Allen
c457f0af60 remove unnecessary regex, use encodeuri for label instead of replace 2021-10-26 16:58:08 -07:00
Blake Allen
786d5d84f2 change %20 in node labels to whitespace, change %20 in node hrefs to hyphen 2021-10-26 12:36:20 -07:00
Blake Allen
c942c5e09d 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