1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-17 22:32:10 +00:00
Commit graph

64 commits

Author SHA1 Message Date
Rohan Kumar
1823cb57b7
Update my usage of the Nu HTML Checker
Emphasize how I use the latest commit of the CSS validatro
2024-05-03 15:22:24 -04:00
Rohan Kumar
23c80d0198
update http links for htmltest to skip 2024-04-24 16:09:35 -04:00
Rohan Kumar
7abb87aeaa
Start running html-validate again 2024-04-22 01:17:03 -04:00
Rohan Kumar
0a0e228bfd
More docs on vnu filering 2024-04-19 03:18:45 -04:00
Rohan Kumar
dc0747caa7
Remove fixed false positive from vnu 2024-04-18 18:01:34 -04:00
Rohan Kumar
cf17e0c1be
generalize vnu filter for xhtml to all xhtml files 2024-01-30 20:04:40 -05:00
Rohan Kumar
04d6aacd0b
update v.nu filter 2024-01-30 19:38:12 -05:00
Rohan Kumar
a910432c5f
add support for Axe in WebHint again 2023-12-12 18:24:29 -08:00
Rohan Kumar
dc9a9e42ea
move webmention endpoint to different subdomain 2023-12-07 23:53:25 -08:00
Rohan Kumar
6c9a8a9b20
Run Nu HTML Checker with both HTML and XML parsers
Requires silencing an HTML-only error that isn't actually an error, but
a hint that doesn't apply to polygot markup (warns against trailing
slashes which aren't a problem if you always use quotes).
2023-11-25 13:32:55 -08:00
Rohan Kumar
a3e4729b6c
Update Webhint configs
- More exact browserlist
- stop hiding "hint" execution
- Disable chromium sandbox since I'm now running it in a container and
  all content is trusted.
- Remove obsolete elements-to-ignore from the compatibility check.
- Re-enable the compression check but disable checking for Zopfli
  compression, which returns a fale-positive; I use
  efficient-compression-tool for gzip compression which is actually
  better than Zopfli.
- Stop ignoring the "X-Frame-Options" header in no-disallowed-headers,
  since I stopped sending that header.
2023-11-23 18:40:01 -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
649f827f66
Refactor post-processing to use sed instead of sd
html-tidy takes care of some post-processing, rendering other
substitutions obsolete. Remove the obsolete regex substitutions.

Now that we did that, the remaining substitutions can be done with
vanilla POSIX or POSIX-Extended regular expressions. Replace sd with
sed, and group the substitutions together into one invocation instead of
multiple invocations piped together. This change speeds up
post-processing to be almost as fast as the initial build step.
2023-11-14 21:39:53 -08:00
Rohan Kumar
72aa3606c5
use html-tidy to format my pages 2023-11-13 17:33:18 -08:00
Rohan Kumar
860da059f9
Add tidy config 2023-11-12 15:57:41 -08:00
Rohan Kumar
980a6b4ec4
Add html-validate to local linters 2023-10-20 04:06:36 -07:00
Rohan Kumar
1a35c861df
Remove trailing whitespace
courtesy of html-validate
2023-10-06 18:22:32 -07:00
Rohan Kumar
1228578858
Webhint: disable false-positives (reflows)
My site doesn't have any JS and aggressively uses CSS Containment
wherever possible, so recalculations aren't a significant performance
issue even when a user adds simple userstyles.
2023-08-21 11:23:50 -07:00
Rohan Kumar
274889433c
Relax budget 2023-08-21 11:23:32 -07:00
Rohan Kumar
6b777881bb
Relax htmltest a bit 2023-05-26 21:12:16 -07:00
Rohan Kumar
3df303dfcf
update build scripts
- new version of webhint has false positives
- new html-proofer has different flags
- add a comment
2023-04-24 09:54:00 -07:00
Rohan Kumar
099bcd9ed2
vnu_filter: style/comments on obsolete filter
One filter removes false-positives but has been fixed upstream; will
keep the filter for a little while until Validator.nu updates to catch
up to my local copy and validator.w3.org.
2022-12-24 10:11:31 -08:00
Rohan Kumar
21af06925a
speed up broken link check 2022-11-22 19:15:48 -08:00
Rohan Kumar
62fbac8fd3
Acknowledge dead link
I don't use archive links to posts deleted by users who would rather not
have their posts archived. Exclude this one from my broken link checker.
2022-11-20 11:30:34 -08:00
Rohan Kumar
369edb0559
More URL fixes 2022-11-17 21:00:03 -08:00
Rohan Kumar
6ec8e63eee
Add webmention URL re-writes
This allows me to update a webmention URL if it breaks or changes and
the admin didn't bother putting a re-direct in place.

I shouldn't have needed to do this. Cool URLs don't change.
2022-11-17 20:16:57 -08:00
Rohan Kumar
f4fa660230
fix dead link check 2022-11-15 14:54:04 -08:00
Rohan Kumar
861f421724
broken link checker config updates 2022-11-10 12:25:02 -08:00
Rohan Kumar
d62ee353ee
Fix nerdlistings link 2022-10-20 11:55:46 -07:00
Rohan Kumar
7361bb6bca
linter config update 2022-10-18 21:35:41 -07:00
Rohan Kumar
125beb0dd7
Linter config update 2022-10-17 12:44:51 -07:00
Rohan Kumar
1c031ce891
auto clean dead links, linter conf update 2022-10-10 21:35:28 -07:00
Rohan Kumar
9aac9680fc
Auto-fix dead links 2022-08-24 20:16:20 -07:00
Rohan Kumar
0bbf28c41a
Account for expired Nerd listings TLS certificate. 2022-08-22 21:14:53 -07:00
Rohan Kumar
8d7b5c0baa
Internal plumbing fixes
- Allow long CC durations in webhint
- WH warns when load time is within a whole second of the target
  load-time, so bump it up a little.
- Add a comment to the build manifest
2022-08-17 18:11:06 -07:00
Rohan Kumar
bdd3155b81
Don't check yesterweb webring for dead links 2022-08-13 14:25:38 -07:00
Rohan Kumar
679feb8f5c
exclude BIMI icon and search from Nu validator 2022-08-13 14:05:23 -07:00
Rohan Kumar
36c9092073
Fix bad links 2022-08-11 21:30:20 -07:00
Rohan Kumar
21dc952eb2
Internal: speed-up/fix check-whole-site
- Run webhint in parallel with other site checks, right after the
  deployment finishes
- Fix webhint perf budget (it warns when within 0.5 sec so give it a
  0.5 sec buffer)
- Throttle LH a bit more
2022-08-08 21:34:58 -07:00
Rohan Kumar
d02b749425
More stylesheet tweaks
- Increase list padding so that ordered-list decimal markers have space
  to fit without overflowing.
- Improve style for removing underline between h-card name and photo, so
  it doesn't apply to any unnecessary elements.
- Reduce budget for document size.
2022-08-05 07:24:16 -07:00
Rohan Kumar
c13e0fe690
Minor semantic tweaks
- Add missing p-name microformats to some citations
- Add download link for audio element
2022-08-03 21:33:20 -07:00
Rohan Kumar
64bc464aca
Update budget.json
Keep max page weight but allow greater markup limit.
2022-08-02 18:24:02 -07:00
Rohan Kumar
e1e998fd25
Webhint: extend cache lifetime 2022-08-01 20:56:02 -07:00
Rohan Kumar
5df229bfc8
Styles: more containment, fix spacing 2022-07-24 11:28:23 -07:00
Rohan Kumar
e64db5aa20
Retronaut Webring is down; add redir destinations
Since the retronaut webring is down, its redirects don't work. I
replaced the redirection URLs myself.
2022-07-24 11:16:38 -07:00
Rohan Kumar
c0904f3b32
Moar site testing
- Replace achecker flags with a config file
- Bring back webhint
- Amend check-whole-site so that it will deploy to staging if all checks
  pass, and then run webhint on every staging page.
2022-07-17 20:01:54 -07:00
Rohan Kumar
ae8eb64a58
Use content-visiblity for archive pages
The JS-free infinite scroll that doesn't make you lose your place.
2022-07-15 22:11:08 -07:00
Rohan Kumar
af1f494c29
Skip validating the search result page offline
That page contains raw Go templates. I should just validate the live
versions.
2022-07-13 22:10:15 -07:00
Rohan Kumar
70b8a5e9cb
re-org the About section, add breadcrumbs
Create an "about" section.

Add breadcrumbs to show relationships between pages with full page
titles.
2022-07-07 17:44:34 -07:00
Rohan Kumar
ffd342acf8
New article: "two types of privacy" 2022-06-25 15:25:54 -07:00