Commit graph

15 commits

Author SHA1 Message Date
cb9dd8c26d
Add more Content-Security-Policy values
Can be checked on https://csp-evaluator.withgoogle.com/
2023-12-29 00:00:00 +07:00
a015e29ea8
Update dependencies
Also add a stupid script to update external font and style sources.
2023-12-23 00:00:00 +07:00
0556b2592c
Separate minify task
This is slower, but ensures we have accurate file size on the UI.
2023-11-26 00:00:00 +07:00
f77dd38704
Bloat things up
* Use `minify` library instead of the CLI
* Add file size on the right of each entry
* Render clickable links for the heading breadcrumb
* Pretty logging with charmlog
* Use `echo` framework for the preview (why? just for fun and the logger middleware)
2023-11-25 00:00:00 +07:00
f3bb7cb7fc
[ci skip] fix(go): use absolute path for the directory input 2023-11-20 00:00:00 +07:00
f493874e4b
fix: trim root directory prefix 2023-11-20 00:00:00 +07:00
2ace4b61bf
Use templ instead of Go template for HTML sources
Also add Nix.
2023-11-20 00:00:00 +07:00
1397196e4e
[ci skip] Reuse the HTML template for the homepage
and switch the code to parse flags instead of raw os.Args.
2023-07-16 00:00:00 +07:00
e63655c892
Add integrity for loaded <link> resources 2023-07-13 00:00:00 +07:00
28a6edcaf4
[ci skip] Small nit-picking 2023-07-12 00:00:00 +07:00
51cf764861
Some HTML tweaks on the home page 2023-07-12 00:00:00 +07:00
1bc2fa4484
makefile: add serve target to quickly preview changes 2023-07-11 00:00:00 +07:00
6c245c45b7
Actually make the sarcasm work 2023-07-11 00:00:00 +07:00
d038546b7c
css/self: apply the @media rule correctly 2023-07-11 00:00:00 +07:00
9f2f494f3c
Init 2023-07-11 00:00:00 +07:00