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

451 commits

Author SHA1 Message Date
Rohan Kumar
3d95547ede
auto clean dead links 2022-10-24 22:01:13 -07:00
Rohan Kumar
fe231b1237
Important announcement from the Scarfolk Council
For more information, please re-read
2022-10-24 12:48:14 -07:00
Rohan Kumar
631ca9445d
Smarten some punctuation 2022-10-24 12:47:37 -07:00
Rohan Kumar
28a29078d5
Fix overly long meta descriptions 2022-10-24 12:27:19 -07:00
Rohan Kumar
bbdad95067
Shortcode fixes
- Support an indieweb person without a hyperlink.
- Don't put a period after "Changelog" links. Causes a line-break on
  many popular phone screen sizes.
2022-10-23 14:54:36 -07:00
Rohan Kumar
fd87a8eb93
Add microdata for site name 2022-10-21 16:23:37 -07:00
Rohan Kumar
04600cb92b
Use lists instead of <br /> when relevant
This required some style updates.
2022-10-19 14:42:13 -07:00
Rohan Kumar
170165d845
Remove extra canonical URL from post lists
I used Scratch to sort of pass variables to a partial, like a global
variable. Ugly but that's the price we pay for Hugo's concurrency and
caching.
2022-10-19 14:30:44 -07:00
Rohan Kumar
e1213ddda6
Fix: repetitive word-count 2022-10-19 13:58:27 -07:00
Rohan Kumar
9d91c5ac21
auto clean dead links 2022-10-19 13:16:26 -07:00
Rohan Kumar
842e060532
Semantics: fix authorship
- Fix use of shortcodes in some pages so authorship is parsed correctly
- Explicitly show author for each entry in a data feed, so parsers don't
  get confused by reply-authors.
2022-10-19 13:14:10 -07:00
Rohan Kumar
1c031ce891
auto clean dead links, linter conf update 2022-10-10 21:35:28 -07:00
Rohan Kumar
e618319e3a
Auto-fix dead links 2022-10-03 16:09:37 -07:00
Rohan Kumar
8fb4fa17a4
auto archive dead link 2022-09-23 22:48:25 -07:00
Rohan Kumar
112b9bdcdd
Add internet.nl badge to awards 2022-09-23 22:37:15 -07:00
Rohan Kumar
c2fafa8d97
fix entity escaping 2022-09-22 10:29:22 -07:00
Rohan Kumar
2e2a37583c
remove link from label 2022-09-22 09:09:49 -07:00
Rohan Kumar
63e6f8021f
Drop some extra whitespace 2022-09-18 16:06:04 -07:00
Rohan Kumar
0fb45529c7
Fix webrings and webmentions 2022-09-16 20:24:43 -07:00
Rohan Kumar
78d7ec194a
Auto link cleanup 2022-09-09 13:51:05 -07:00
Rohan Kumar
8312af7632
add ID attrs to bmarks, link cleanup 2022-08-31 13:48:42 -07:00
Rohan Kumar
9aac9680fc
Auto-fix dead links 2022-08-24 20:16:20 -07:00
Rohan Kumar
0ff306e589
Simplify webring list, fix list-item cutoff
- CSS containment was cutting off nested list-item markers; increase
  their padding to compensate
- Remove nested <details> use, it was causing problems and was probably
  unnecessary
2022-08-24 20:14:09 -07:00
Rohan Kumar
c3f574db0e
Include webmentions in all post types 2022-08-17 18:10:40 -07:00
Rohan Kumar
b98a0ef4c6
Auto-fix dead link 2022-08-13 14:25:05 -07:00
Rohan Kumar
dcb08d9fd4
Allow reply-context without author 2022-08-12 00:00:03 -07:00
Rohan Kumar
36c9092073
Fix bad links 2022-08-11 21:30:20 -07:00
Rohan Kumar
6f9d418285
Replace unnecessary use of <br> with something simpler 2022-08-08 17:30:43 -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
09e14bcfc2
Minor markup adjustments
- Move a horizontal rule from inside an element to outside it
- Add a horizontal rule
- Remove redundant info from some webmention titles
2022-08-02 18:20:52 -07:00
Rohan Kumar
385ea60c55
Atom feed: use different <logo>, formatting
The spec recommends that the <logo> element is twice as wide as tall:
https://validator.w3.org/feed/docs/atom.html#optionalFeedElements

Add yet another site icon that fits that recommendation. Tidy up the
feed in the meantime.
2022-08-01 21:28:32 -07:00
Rohan Kumar
fc8eb8d7a6
Media feed: fix relative url 2022-08-01 21:22:06 -07:00
Rohan Kumar
c3ae952081
Improvements to citations
- Put reply-context in a paragraph
- Allow an itemid for mention-work
2022-08-01 20:55:33 -07:00
Rohan Kumar
30e59289ce
Fix invalid schema/comment property 2022-08-01 20:55:16 -07:00
Rohan Kumar
b39fcc6b78
Remove unnecessary empty open graph alt-text 2022-08-01 20:54:12 -07:00
Rohan Kumar
99107161f0
Remove unnecessary horizontal rule 2022-08-01 20:53:29 -07:00
Rohan Kumar
0fd4ad9f4f
Make list pages structurally consistent 2022-08-01 20:53:21 -07:00
Rohan Kumar
2bdcd17970
Join Netizens webring 2022-08-01 20:51:07 -07:00
Rohan Kumar
5df229bfc8
Styles: more containment, fix spacing 2022-07-24 11:28:23 -07:00
Rohan Kumar
cd8d0e88ae
Webmentions: don't use a <dl> for no mentions
When I have no webmentions, I shouldn't use a <dl> to describe the
menchie placeholder.
2022-07-17 19:25:38 -07:00
Rohan Kumar
035dcada58
Drop redundant aria-required attr 2022-07-15 22:45:00 -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
04830b7c93
Fix bad link 2022-07-13 22:03:20 -07:00
Rohan Kumar
f990ba349c
remove unused id 2022-07-13 22:01:13 -07:00
Rohan Kumar
af5380e236
Fix bad target id 2022-07-13 17:33:42 -07:00
Rohan Kumar
ff0c7deafa
Make the skip-link point to h1 instead of main
Link targets need to be focusable to work with VoiceOver.

Making <main> focusable causes some side-effects, like making the TAB
key go to the beginning of <main> instead of the element after the
currently-clicked region.

Also removes the annoying outline around "main" in some non-mainstream
browsers, without having to add extra CSS.
2022-07-13 08:31:20 -07:00
Rohan Kumar
1a7cc7156c
Replace homepage <aside> with page description
IBM Equal Access A11y Checker caught an <aside> without a label. Figured
this was a good opportunity to instead use the site description.

While I was at it, I expanded said site description and used it
properly.
2022-07-12 23:05:37 -07:00
Rohan Kumar
80ef3a4a9a
Refactor to make more body text narrow
Now more text should fall within WCAG limits.
2022-07-11 17:27:00 -07:00
Rohan Kumar
5183118ee7
Exclude Gemini privacy policy from sitemap/atom 2022-07-11 15:24:48 -07:00
Rohan Kumar
77c44184c8
Allow autosuggestions in webmention form 2022-07-11 15:23:39 -07:00
Rohan Kumar
46c6b02d36
Allow spellcheck in search input 2022-07-11 15:22:52 -07:00
Rohan Kumar
8ef0519a5c
Add section permalinks to non-article sections 2022-07-11 15:20:13 -07:00
Rohan Kumar
9d4f18ffde
a11y: Make backlink label start with name
The WCAG "label in name" SC requires visible labels to contain
accessible names, preferably by having accessible names start with
visible labels. This commit makes footnote backlinks display as a
hyperlink reading "Back" to meet this SC.
2022-07-11 15:18:15 -07:00
Rohan Kumar
0aafdaaddf
New section: "Meta"
Move all content about the site itself to a "meta" section.
2022-07-10 22:36:22 -07:00
Rohan Kumar
4d3b628fb3
Add aria-required, autocomplete attributes to forms
- We don't want autocomplete on the webmention form, since users should
  not be entering a link multiple times.
- Not all browsers support the "required" HTML5 attribute, so add the
  "aria-required" HTML attribute too.
2022-07-08 14:32:25 -07:00
Rohan Kumar
297ad1e5cb
Add skip-link
This one is simpler than the last attempt, since it doesn't overlap with
any content except the navbar links' empty padding.
2022-07-07 08:52:55 -07:00
Rohan Kumar
c4fef91b64
add IndieAuth authorization_endpoint
Also remove the useless generator tag. If someone wants to see how my
site was built, the source code is linked right in the footer.
2022-07-07 08:44:41 -07:00
Rohan Kumar
600bd85f1a
remove bad itemref 2022-07-07 08:42:09 -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
40585964fe
Fix dead link 2022-07-07 00:15:23 -07:00
Rohan Kumar
91a54ac0c9
Fix webmention heading hyphenation 2022-07-01 17:12:34 -07:00
Rohan Kumar
1a3800ad60
Allow custom article schema.org types 2022-07-01 17:12:22 -07:00
Rohan Kumar
a8057aa8e8
Add support for <audio> elements
- Adjust transcript shortcodes to also support <audio> elements.
- Add audio element shortcode based on <picture> shortcode
- Make <audio> elements match container width.
2022-06-30 20:12:06 -07:00
Rohan Kumar
a4f5f797b6
Fix authorship metadata 2022-06-30 08:35:05 -07:00
Rohan Kumar
cd82ce39ec
Webmentions: display reply content + a11y issues
- Display reply content in webmentions, when it's available
- Truncate titles and redundant content from webmentions
- Add note on a11y issues regarding badly-formatted webmentions from
  brid.gy's mastodon integration.
2022-06-30 08:34:16 -07:00
Rohan Kumar
22dfabd262
Give transcripts back their headings
<div> can't be given an accessible name, and a <section> should have a
heading. Sigh.
2022-06-29 21:40:35 -07:00
Rohan Kumar
7bd9784653
Microdata: fix relative urls, add a11y metadata
- Add a11y metadata to transcribed images to communicate the presence of
  a transcript
- Fix relative urls in navigation: make them absolute urls, so that the
  parsed navigation elements have the correct destinations.

This also switches image transcripts from a section with a heading to a
div with an ARIA label. That should reduce duplication between the
<summary> content and the heading while still being semantically sound.
2022-06-29 18:05:48 -07:00
Rohan Kumar
ec1ace911b
Fix bad links
- Switch an abs link to a relative one
- Account for a site move
- Manually correct a couple dead links to point to the Wayback Machine
- Automatically switch some webmention links to the Wayback Machine
2022-06-29 08:42:23 -07:00
Rohan Kumar
c3026ed9d8
Exclude custom 404 from sitemap 2022-06-27 14:32:15 -07:00
Rohan Kumar
2b88317a46
Support "random" webring links
Will be necessary for inclusion into IndieSeek's Retroweb Ring.
2022-06-27 08:43:13 -07:00
Rohan Kumar
e2704fab7c
Fix bad links 2022-06-23 16:10:11 -07:00
Rohan Kumar
7546bd1c20
Fix heading permalinks in reading mode
horrible hack, crimes.
2022-06-22 21:18:32 -07:00
Rohan Kumar
54acd64ccb
Back to SVG icon
I fixed the sizing issue with a viewbox attribute.
2022-06-20 22:57:09 -07:00
Rohan Kumar
f9c497fac0
Rename "posts" section to "articles"
No liinks changed; just the content displayed. The "posts" section is
now "artilces" to distinguish it from my "notes" section.
2022-06-19 20:15:56 -07:00
Rohan Kumar
9b3373701d
Switch archives to proper Hugo "list" template 2022-06-19 14:21:40 -07:00
Rohan Kumar
84aaf683b0
Validate and fix feeds, persist link-check cache 2022-06-17 22:09:32 -07:00
Rohan Kumar
8c8b2fe51b
Exclude date-less pages from feeds 2022-06-17 20:53:19 -07:00
Rohan Kumar
fba366ca11
Check and fix broken links 2022-06-17 20:36:35 -07:00
Rohan Kumar
9f3d6b9df3
Re-introduce RSS discoverability alongside Atom
The RSS feeds use escaped HTML instead of XHTML, which improves
compatibility with certain feed readers (e.g. Microsoft Outlook).

Mention that Outlook uses its own weird engine for feed contents in my
web best practices article.
2022-06-17 08:51:53 -07:00
Rohan Kumar
a3aa0fbaaf
Hide some useless stuff
Remove visible bullets from datafeeds. Switch them to <ol> for
consistency.
Hide superfluous horizontal rules from print media.
2022-06-14 22:08:50 -07:00
Rohan Kumar
29dfdf34a7
Fix typo: don't replace ellipsis with m-dash 2022-06-11 13:32:03 -07:00
Rohan Kumar
0fc9fe4de7
Markup fix: use paragraphs in bibliography 2022-06-11 13:24:47 -07:00
Rohan Kumar
7833fcd15d
Revert changes to mention-work 2022-06-10 19:35:33 -07:00
Rohan Kumar
f230a23b55
Typo 2022-06-10 19:33:36 -07:00
Rohan Kumar
a502691c38
New post: CLI best practices 2022-06-10 19:24:54 -07:00
Rohan Kumar
c41e602ed1
Add info on site design 2022-06-10 18:49:31 -07:00
Rohan Kumar
0c97f87d2a
Typo 2022-06-10 15:00:35 -07:00
Rohan Kumar
916b089a4f
Various fixes for hidden service
- Formatting fix for indieweb icon
- Support searching directly on hidden service
2022-06-09 21:24:13 -07:00
Rohan Kumar
2bae1cb224
Add native search to hidden service 2022-06-09 20:47:21 -07:00
Rohan Kumar
a4bcf9c4dd
Re-add support for <samp> in markdown 2022-06-08 18:17:33 -07:00
Rohan Kumar
ae0661bb7a
Typos, missing "required" attribute 2022-06-08 18:15:17 -07:00
Rohan Kumar
d3ad0e7382
another typo 2022-06-08 17:43:16 -07:00
Rohan Kumar
16bf64f009
Add mising <p> 2022-06-08 17:40:19 -07:00
Rohan Kumar
1cbc635525
Various typos, correction
- Correct "JS-enabled engines" note with info on Yep
- Minor typos
2022-06-08 17:29:46 -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
b9ee2b3e20
Add missing heading and note on unfinished-ness 2022-06-08 11:11:33 -07:00
Rohan Kumar
5f48ca7bbe
Display search results on my own site
Use the SearchMySite API to gather results and render them in HTML on my
own site. I'll open-source the Go program that generates the results
soon.
2022-06-09 08:44:55 -07:00
Rohan Kumar
bd705cd0b1
Give indieweb icon a PNG fallback
This should improve compatibility with older and non-mainstream
browsers.
2022-06-09 08:34:49 -07:00
Rohan Kumar
854ad8dcce
Use "search" ARIA role. 2022-06-07 23:36:05 -07:00