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

100 commits

Author SHA1 Message Date
Rohan Kumar
61c67556b5
Start posting receipts 2023-07-30 17:16:37 -07:00
Rohan Kumar
5aa8bf2d39
New article: the phrase "GNU/Linux" 2022-12-09 13:48:49 -08: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
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
112b9bdcdd
Add internet.nl badge to awards 2022-09-23 22:37:15 -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
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
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
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
54acd64ccb
Back to SVG icon
I fixed the sizing issue with a viewbox attribute.
2022-06-20 22:57:09 -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
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
a4bcf9c4dd
Re-add support for <samp> in markdown 2022-06-08 18:17:33 -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
811c887755
CSS overhaul: non-overlapping outlines
I increased a bunch of tap targets to fit the recommended 48x48 sizes
and 56x56 non-overlapping regions, but unfortunately this caused
outlines to overlap with each other. This commit turns these elements
into inline-block elements and makes the necessary fixes to accomodate
this change.
2022-06-03 15:47:14 -07:00
Rohan Kumar
840bf38de6
Whitespace fixes 2022-06-02 20:01:50 -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
89139337d1
Fix some whitespace 2022-06-01 21:00:19 -07:00
Rohan Kumar
874414229e
Metadata amendments
- Re-order rel for my homepage's representative h-crad
- Fix the aria-current for the homepage
- Microdata: remove unnecessary "sameAs"
- Reduce "update without adding date updated" timeout to 15min
- Add u-uid and rel=me to my h-card on every page.
2022-06-01 10:04:35 -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
c84c8d4214
BREAKING: Prettify URLs, add Atom feeds
Adding a bunch of server configs to do the re-directs too.
2022-05-26 18:57:49 -07:00
Rohan Kumar
10fb1f9e4a
New note: "answer engines" 2022-05-25 19:59:09 -07:00
Rohan Kumar
d123bd9a12
New shortcode: "mention-work".
Will be useful when I start posting reply notes.
2022-05-24 17:25:16 -07:00
Rohan Kumar
2204ae8861
Microdata improvements
- Semantically link each blog posting to the greater blog
- Fix copyright bullshit
- Make some articles TechArticles
- Remove unnecessary markup
2022-05-20 18:32:21 -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
5211581909
Stop using un-used "nickname" schema.org property 2022-05-15 12:31:53 -07:00
Rohan Kumar
8a2154e5ab
Make transcript headings more unique 2022-05-12 18:56:16 -07:00
Rohan Kumar
a9039e1bde
Adjust image transcript approach
- Use section instead of nested article
- Adjust stylesheets to match above markup changes
- Mention upcoming aria-details
2022-05-12 17:33:12 -07:00
Rohan Kumar
a96b77793b
More CSS containment, adopt shortcodes
- Adopt more shortcodes in older posts.
- Contain figures, excluding images. Slightly decreases paint times.
- Fix spacing issues for nested articles.
- Always enable vertical scrollbar, since pretty much all pages are
  taller than the viewport. Eliminates a layout shift.
- Moar microdata
- Set fixed updated dates for some posts so they don't get new
  date-updated values until I actually change the content significantly
2022-05-11 23:32:35 -07:00
Rohan Kumar
fb84eb5d12
Minor microdata/whitespace fixes 2022-05-10 16:05:22 -07:00
Rohan Kumar
4f177f5536
Use less harsh colors in a screenshot
Make the dark link underlines screenshot less prone to overstimulation
2022-05-09 08:25:13 -07:00
Rohan Kumar
7bd796a44c
Floating block examples, Tkhtml, semantics, other
- Change a quote of a code snippet to a code snippet with a citation
- Mention tkhtml
- Mention pandoc and printfriendly as exmples of moving figure elements
  like floating blocks.
- Make TPGi a publisher, not an author.
- Use brackets to clarify a reference in a quotation.
- Add personal example of why it's important to test both low- and
  high-end displays.
2022-05-08 21:08:08 -07:00
Rohan Kumar
f3c23c5d36
Typo 2022-05-06 16:31:21 -07:00
Rohan Kumar
f5f0785e65
Microdata: add itemid attributes 2022-05-06 10:33:42 -07:00
Rohan Kumar
372589a57a
Improve image transcript navigation
- Identify the transcript with a subheading, ending in a period so that
  the aria-description separates the identifier from the concept.
- Put the transcript in a <section>
- Snuck in a trivial syntax fix for the generator element.
2022-05-06 10:31:52 -07:00
Rohan Kumar
6ebbd739fd
Fix image structured data 2022-05-06 10:30:11 -07:00
Rohan Kumar
155ff8290d
Put TOC in a <details> element. 2022-05-05 20:07:59 -07:00
Rohan Kumar
89b0e01e66
Fix microdata nesting
Make sure separate elements are part of each other so only a single
element is at the top level.
2022-05-05 19:57:27 -07:00
Rohan Kumar
aad8b11a70
Shortcode improvements
- New shortcode for quotation. Not using this yet.
- Make picture shortcode round image dimensions to integer values.
- Make quotecaption support code snippets borrowed from other places.
  Not using this yet.
2022-04-27 17:20:16 -07:00
Rohan Kumar
f964152072
Add SerenityOS screenshot
obv gotta show off that awesome retro desktop
2022-04-26 22:39:12 -07:00
Rohan Kumar
c26a6d6cc8
Re-introduce conservative minificaiton
- Don't auto-minify HTML but minify other resources, inc. the RSS feed
- Manually optimize whitespace a little to balance readability and
  compressed size
2022-04-26 17:15:42 -07:00
Rohan Kumar
8ddc2ec879
Make transcript the description of the image. 2022-04-22 11:48:22 -07:00
Rohan Kumar
6aa7656411
Remove aria-description from figures
Causes repetition in some screen readers.
2022-04-22 08:48:20 -07:00
Rohan Kumar
c939afbc0a
Elaborate on focus indicators + fix anchors 2022-04-21 21:40:40 -07:00
Rohan Kumar
2c87b6269f
Revert "Microdata: don't replace "name" with "nickname""
This reverts commit 50d4c9435d.
2022-04-21 21:40:17 -07:00