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

13 commits

Author SHA1 Message Date
Rohan Kumar
db3af81979
Picture shortcode: support JPEG-XL, async decoding 2021-06-28 20:03:33 -07:00
Rohan Kumar
322dbf93e7
Inline favicon
The favicon is 175 bytes, smaller than the size of the HTTP headers to
fetch it. It can be inlined.

Now, pages that don't have any other images need just a single request.
2021-06-04 17:29:05 -07:00
Rohan Kumar
8de296971f
HTML fix: specify image height AND width in HTML
Previously, only one of the two was specified. Now Lighthouse wants both
2021-03-01 21:26:57 -08:00
Rohan Kumar
a189305ee4
Indieweb: support legacy microformats v1 2021-02-23 15:12:54 -08:00
Rohan Kumar
bc667feec6
Fix: visible dark webring icon in Webkit
Dark mode now switches to a different icon instead of
inverting it. There's probably a better way but I'll figure that out
later.
2021-02-01 22:59:56 -08:00
Rohan Kumar
4e7a0c8bde
Link to Merveilles webring!
My site's first Webring. I plan to join a few others, and to create
three of my own.
2021-02-01 22:35:08 -08:00
Rohan Kumar
a57f694bb4
Allow svg alts in <picture> shortcode 2021-02-01 22:24:40 -08:00
Rohan Kumar
e4b8b88a79
Fix <picture> shortcode to skip missing images 2021-01-28 13:08:21 -08:00
Rohan Kumar
1f8fb5f83a
New shortcode for <picture>
This shortcode handles dark/light variants of AVIF, WebP, and PNG
images.
2021-01-27 13:47:46 -08:00
Rohan Kumar
f2d41c1c32
Metadata: Improve microformats + microdata
- Wrap the <a> in a <span> to make the h-entry expose an author URL
  (link to homepage). Useful for sending Webmentions.
- Switch from schema.org/Article to schema.org/BlogPosting
2021-01-19 22:13:16 -08:00
Rohan Kumar
950918b104
Remove themes/, move its contents to repo root
I've modified etch-custom so much that it doesn't need to be its own
theme anymore.
2021-01-17 17:22:22 -08:00
Rohan Kumar
831443c52c
Valid HTML: fix img tags
Images should be specified acc. to pixelsize, according to the HTML
spec. "em" is out.

Specifying the mimetype in those contexts isn't allowed.
2021-01-12 16:56:36 -08:00
Rohan Kumar
1e7b2008e8
Indieweb: add u-photo and h-entry where relevant
Inspired by the h-entry implementation on Charlie Owen's personal
website: https://whalecoiner.com

The u-photo re-uses the 32px favicon that the browser has already
cached, so it shouldn't bloat up the page anymore.

These changes required a bit of additional CSS. I snuck in come color
changes too.
2020-12-29 15:06:51 -08:00