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

57 commits

Author SHA1 Message Date
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