Commit Graph

107 Commits

Author SHA1 Message Date
xfnw
2bdf67560c cargo: turn off regex perf feature
perf makes the compile times and resulting binary size way larger, and
has no noticeable impact how long clam takes to build a site
2024-07-10 19:13:49 -04:00
xfnw
98044d0dcf move to a subcommand 2024-07-09 16:03:14 -04:00
xfnw
252c10f642 hide closed table of contents when printing
printing out the collapsed table of contents is pointless.

i would prefer just automatically opening it, but this seems
to not yet be possible with pure css?
2024-07-04 12:09:38 -04:00
xfnw
73aaa39c08 html: treat FixedWidth lines as mini example blocks 2024-07-01 21:48:17 -04:00
xfnw
c3c8676524 html: add tabindex=-1 to headings
apparently anchor targets should be focusable
2024-06-28 16:44:22 -04:00
xfnw
f5b3692b2c css: word wrap pre
got tired of it horizontally-scrolling
2024-06-23 13:47:52 -04:00
xfnw
1c32b742f3 css: avoid borders on code inside pre 2024-06-21 15:15:18 -04:00
xfnw
892fb322b9 html: show raw text from footnotes
stopgap before actually implementing footnote output
2024-06-21 14:58:48 -04:00
xfnw
1f10a132e2 switch to new UseSubSuperscript::Brace 2024-06-20 22:38:58 -04:00
xfnw
0d7ce98a1b atom: allow excluding pages from feed with regex 2024-06-20 22:24:29 -04:00
xfnw
06d5d0f390 html: specify html lang 2024-06-20 15:08:34 -04:00
xfnw
dc1814b3b1 css: go back to using default font size 2024-06-20 14:00:08 -04:00
xfnw
6e84385ea4 html: allow overriding year 2024-06-17 14:46:31 -04:00
xfnw
bb9d9634b9 html: allow overriding page author 2024-06-17 14:08:18 -04:00
xfnw
ec31189b2d css: remove vertical-align from chat-head
does nothing, i forgot to remove it when making chat into a flexbox
2024-06-16 23:05:09 -04:00
xfnw
3f1bdd7531 html: fix test
not sure why there was a random <p></p> there before
2024-06-16 22:56:11 -04:00
xfnw
5891f0e3ba cargo: bump dependencies 2024-06-16 22:55:56 -04:00
xfnw
e4201a6a7c atom: fix lifetime
no idea why i did that
2024-06-14 20:32:15 -04:00
xfnw
d77c171f15 templates: only show up link past 2 directories deep 2024-06-08 13:02:31 -04:00
xfnw
81786fe7f1 templates: remove slashes 2024-06-08 12:39:08 -04:00
xfnw
70902a1713 html: properly nest table of contents lists
may do weird things if the document jumps multiple heading levels,
so avoid doing that...
2024-06-07 17:38:55 -04:00
xfnw
fad7bfabc8 html: somewhat parse TOC keyword arguments 2024-06-07 12:57:26 -04:00
xfnw
73dec78bb4 html: simple table of contents support
currently ignores the value of TOC keyword
2024-06-07 11:32:04 -04:00
xfnw
ff6bf2123a html: start table of contents 2024-06-07 11:04:41 -04:00
xfnw
bca616b541 html: show org cookies 2024-06-06 23:13:40 -04:00
xfnw
70bbb3471a html: get properties from properties method
rather than looking through the ast ourselves
2024-06-06 22:04:03 -04:00
xfnw
7ba55b5157 css: poke text size a bit 2024-05-29 18:18:35 -04:00
xfnw
69d14ce7ad html: sanitize CUSTOM_ID 2024-05-24 21:35:57 -04:00
xfnw
5ca5b90ee0 css: differentiate kbd and code 2024-05-24 21:20:25 -04:00
xfnw
4207c5c2c8 templates: move hr out of footer
visually looks the same and is hopefully less annoying for people
navigating by landmark
2024-05-24 10:37:17 -04:00
xfnw
076d8cbf84 templates: use aside for old page notice 2024-05-24 09:53:52 -04:00
xfnw
a33f243348 templates: put header in header element
makes navigating the page by landmark easier
2024-05-23 23:05:21 -04:00
xfnw
ba2d7941af html: set role for chat-nick
the generic role, which is the default for a span, does not allow labels
2024-05-23 22:38:03 -04:00
xfnw
06611851de css: always underline links 2024-05-23 22:31:19 -04:00
xfnw
65e0f0aa70 html: improve heading anchors 2024-05-12 23:33:14 -04:00
xfnw
02384a0262 switch from toml to toml_edit
seems nowadays toml is just a compatibility wrapper around toml_edit,
switching to toml_edit directly speeds up compilation by a few seconds
2024-05-11 20:12:16 -04:00
xfnw
ab54529864 html: avoid eating curly braces in subscript removal 2024-05-10 10:33:13 -04:00
xfnw
e9c64c5e77 cargo: update orgize version
remove no longer necessary keyword hiding, as was fixed upstream
2024-05-09 21:54:09 -04:00
xfnw
562ef38059 html: add second method to access heading anchors 2024-05-01 14:49:32 -04:00
xfnw
8e54898622 html: hide heading anchors from aria 2024-04-29 18:03:41 -04:00
xfnw
4ce44d1707 css: try to keep list item checkboxes on same line 2024-04-29 18:03:35 -04:00
xfnw
49d7790d30 html: render list item checkboxes 2024-04-29 16:18:31 -04:00
xfnw
da5d63c714 html: add alt text to chat faces
the expressions do have some semantic information worth exposing
2024-04-28 15:50:59 -04:00
xfnw
6444bca63d allow excluding paths from atom feed
this acts on resulting paths that end up in the feed
(something/hidden.html), not the input paths (something/hidden.org)
2024-04-28 10:38:27 -04:00
xfnw
5b442802b4 html: reformat 2024-04-28 10:38:14 -04:00
xfnw
579ed554c2 switch to getting title from Document::title 2024-04-24 20:23:36 -04:00
xfnw
90e182302c cargo: update orgize version 2024-04-24 20:18:40 -04:00
xfnw
48efd906d8 update dependencies 2024-04-21 18:58:01 -04:00
xfnw
e9bc906fe4 html: only convert org -> html links on local files 2024-04-18 19:08:16 -04:00
xfnw
40b5f7e424 css: darken DONE color
this brings color contrast within WCAG guidelines
2024-04-14 19:44:55 -04:00