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

102 commits

Author SHA1 Message Date
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
0fd4ad9f4f
Make list pages structurally consistent 2022-08-01 20:53:21 -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
5183118ee7
Exclude Gemini privacy policy from sitemap/atom 2022-07-11 15:24:48 -07:00
Rohan Kumar
8ef0519a5c
Add section permalinks to non-article sections 2022-07-11 15:20:13 -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
c3026ed9d8
Exclude custom 404 from sitemap 2022-06-27 14:32:15 -07:00
Rohan Kumar
7546bd1c20
Fix heading permalinks in reading mode
horrible hack, crimes.
2022-06-22 21:18:32 -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
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
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
13a2595482
Add combined Atom feed 2022-06-06 12:26:28 -07:00
Rohan Kumar
1782aeeda6
Remove apple-touch-icon, add webfinger 2022-06-06 08:49:11 -07:00
Rohan Kumar
f271291f49
Automate reply-context, add more metadata to Atom
- Build reply-context from front-matter
- Add more activitystreams, portblecontacts, ostatus, etc. metadata to
  Atom feed. Inspired by Pleroma's feeds.
2022-06-02 17:36:06 -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
6a47371a05
Cosmetic fixes
- Drop copyright symbol: I put it there because certain programs
  explicitly look for it, but between rel=license, schema.org microdata,
  and creative commons RDFa, I think scrapers should be covered.
- Update the theme-color and friends to work with my site's updated dark
  theme.
2022-06-01 21:52:11 -07:00
Rohan Kumar
e77046bf99
Demote RSS feeds in favor of Atom
Explicitly mark RSS feeds as "legacy" because I have joined the A-Town
Atom gang and they have a strict full-time attendance policy.

Thanks Forever for pointing out the spelling/grammar error here.
2022-06-01 21:50:48 -07:00
Rohan Kumar
89139337d1
Fix some whitespace 2022-06-01 21:00:19 -07:00
Rohan Kumar
0f930c28f7
Add base url to atom feed
helps with relative links
2022-06-01 17:37:31 -07:00
Rohan Kumar
854010c8c4
Remove unused "language-figure" class from feeds 2022-06-01 10:03:08 -07:00
Rohan Kumar
b557bb9474
Fix feed subtitles and descriptions 2022-06-01 09:59:52 -07:00
Rohan Kumar
ba527a8fe2
Fix feed titles 2022-06-01 08:58:44 -07:00
Rohan Kumar
c50ea3c34f
Typo 2022-05-31 21:38:34 -07:00
Rohan Kumar
a46b790a62
Remove microdata from feeds
It's useless and invalid in those contexts, and removing it
significantly trims the file sizes.

Edit a post featuring a microdata code snippet to avoid conflicts.
2022-05-31 20:52:16 -07:00
Rohan Kumar
e453714d42
Atom: directly include un-escaped XHTML 2022-05-31 20:35:14 -07:00
Rohan Kumar
6a7ac36f11
Add 404 page 2022-05-31 18:07:04 -07:00
Rohan Kumar
c936ca1902
Remove extra newlines 2022-05-31 17:11:52 -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
f514677e94
Add some ActivityStreams metadata to Atom feeds 2022-05-28 13:43:30 -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
38c0d38fa4
Add RSS feed for notes, part 1
Add an RSS feed for notes. Next up, replacing the RSS navlink with a
page containing links to both my posts and notes RSS feeds. When I get
ATOM and WebSub, it'll have links ot those too.

Also fixed some typos and switched "Posted" to "Noted" in the context of
notes.
2022-05-26 18:03:28 -07:00
Rohan Kumar
e70aa42907
Fix bad link 2022-05-24 16:55:47 -07:00
Rohan Kumar
d409a1ba58
Add "notes"
Short-form posts for microblogging. TODO: implement POSSE.
2022-05-24 16:37:26 -07:00
Rohan Kumar
db2410ed32
Fix data feeds 2022-05-20 18:35:04 -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