1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00
Commit graph

23 commits

Author SHA1 Message Date
Rohan Kumar
9ed1cb8c99
make find | xargs invocations safer 2024-04-03 22:36:51 -04:00
Rohan Kumar
723bdb5a5d
Add cdata to style tag 2024-01-30 18:50:37 -05:00
Rohan Kumar
8f488a7671
reduce one indent level 2023-12-12 18:24:47 -08:00
Rohan Kumar
ceac2c2a57
Switch from find -exec to xargs 2023-11-29 13:40:05 -08:00
Rohan Kumar
c98b28f6fe
Make redirect alias valid XHTML5 2023-11-26 14:57:42 -08:00
Rohan Kumar
33b3c5211a
Move resume to "about"
Define a redirect alias too.

This also entails special xhtmlize behavior as redirects in Hugo don't
use trailing slashes.
2023-11-26 14:28:41 -08:00
Rohan Kumar
429dcda2cd
Minify feeds with xmllint
This works particularly well on my Atom feeds with embedded XHTML.
2023-11-25 19:05:53 -08:00
Rohan Kumar
d1711699d4
Opportunistically use pipefail 2023-11-25 13:40:52 -08:00
Rohan Kumar
3487f6b9f2
oops, stop calling tidy 2023-11-15 09:33:13 -08:00
Rohan Kumar
4910a7c2c1
Quit using HTML-Tidy
See https://github.com/htacg/tidy-html5/issues/1094. The most recent
commit without that regression can't handle `dl` elements with `div`
children.
2023-11-15 09:21:26 -08:00
Rohan Kumar
bbfa381368
Add HTML-Tidy's generator tag manually
It auto-inserts it to the start of <head> but I want it at the end.
2023-11-15 02:26:52 -08:00
Rohan Kumar
0912a89ca9
Remove usage of htmlq in xhtmlize.sh
Now I no longer need to include htmlq in my binaries.tar.gz
2023-11-14 22:00:15 -08:00
Rohan Kumar
dc2b049eb3
xhtmlize: avoid race between parallel jobs
Prevent parallel jobs from accessing the same tmp.css
2022-08-01 20:54:25 -07:00
Rohan Kumar
a2c919ca2e
Remove one extra indent level
We don't need to indent children of <body> or <head> since the element
type will give away the parent.
2022-07-17 19:18:22 -07:00
Rohan Kumar
4b42a8686d
Support running axe-core with Firefox 2022-06-17 20:54:05 -07:00
Rohan Kumar
114e2d88ee
xhtmlize: better formatting, exit on err
- make xhtmlize exit early if any file fails to be xhtml-ized
- add whitespace before self-closing slash.
2022-06-13 08:27:09 -07:00
Rohan Kumar
9433bca2b7
Decrease markup indentation by one level 2022-06-04 22:39:07 -07:00
Rohan Kumar
c1f991efff
xhtmlize: switch back to using xmllint
Switch back to using xmllint, but now extract + replace the CSS to
address the escaping.
2022-06-01 22:11:40 -07:00
Rohan Kumar
672d89d007
More whitespace fixes 2022-06-01 21:49:04 -07:00
Rohan Kumar
89139337d1
Fix some whitespace 2022-06-01 21:00:19 -07:00
Rohan Kumar
425071eade
Auto-format markup in CI
Use xmlfmt with some extra post-processing since xmlfmt has a few
issues wrt extra newlines.
2022-06-01 17:37:14 -07:00
Rohan Kumar
b4850ed89a
Use XML declaration on XHTML, other XHTML tweaks
- Remove XHTML content-type meta header from HTML documents, reverting
  back to the meta charset
- Give XHTML documents their own XHTML declaration
- Remove now-redundant meta charset from XHTML
- Since XHTML and HTML documents differ now, compress after running
  xhtmlize and make xhtmlize only act on uncompressed files.
- Validate XHTML using vnu
2022-05-31 17:16:44 -07:00
Rohan Kumar
90aeb2d23a
Create both index.html and index.xhtml files
Combines well with content-negotiation based on the "Accept" header.
2022-05-30 16:09:40 -07:00