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

51 commits

Author SHA1 Message Date
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
Rohan Kumar
e2704fab7c
Fix bad links 2022-06-23 16:10:11 -07:00
Rohan Kumar
d0dc380438
Increase cache lifetime for htmltest 2022-06-21 09:42:02 -07:00
Rohan Kumar
626f9cd886
Don't test dead wayback machine links 2022-06-19 13:44:51 -07:00
Rohan Kumar
fba366ca11
Check and fix broken links 2022-06-17 20:36:35 -07:00
Rohan Kumar
acfffd3754
Fix some markup
- Put headings outside of links in SERP
- fix a <div> wrapping issue in the about page
- Mark up the result excerpts with a <q> element.
2022-06-08 17:14:39 -07:00
Rohan Kumar
6042b0bdaf
Add structured data for SearchAction
Should support a sitelinks searchbox now.
2022-06-09 11:13:25 -07:00
Rohan Kumar
cb26956bca
Internal: improve scripts
- I forgot to compress xhtml files. fix that.

- Stylistic change: remove unnecessary brace expansions
- Don't repeatedly append to a file; run commands in a different scope
  and write all at once.

Move Nu HTML validator filtering into a shell script:
- Return a bad exit code if validation errors are found after filtering
- Remove null-ish values from the JSON output; the final output *should*
  be an empty string, since nothing should be reported.
2022-06-02 17:18:13 -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
1aed7a66d4
Switch to XHTML5 markup
The site now has polygot markup and can handle both XHTML5 and HTML5
parsing rules. My staging site will be XHTML but my main site will be
HTML5, just in case of parse errors.

If other tools (e.g. LightHouse) end up supporting XHTML5, I'll consider
switching the content-type to XHTML.
2022-05-30 17:39:45 -07:00
Rohan Kumar
f798de7e63
A11y: drop draft ARIA, overhaul in-page links
- Stop using draft WAI-ARIA 1.3 that isn't supported yet
- Make in-page links focusable across shortcodes/partials
- Replace existing in-page heading anchor links with a more accessible
  option.
- Make backlinks aria-labelledby instead of giving them an aria-label,
  so they can be translated.
2022-05-19 17:18:14 -07:00
Rohan Kumar
86143428f3
Better backlinks, streamline css
- Streamline CSS to reduce duplication
- Better backlink accessible names for endnotes with multiple backlinks

This required updating a false positive filter in my vnu jq filter.
2022-05-12 20:51:11 -07:00
Rohan Kumar
72a8e7a932
Update nu validator false positives 2022-05-12 18:56:05 -07:00
Rohan Kumar
7b236f003c
Use WAI-ARIA 1.3's "comment" role on webmentions 2022-05-12 18:39:34 -07:00