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

136 commits

Author SHA1 Message Date
Seirdy
9847fadf95
stop adding placeholder thumbnails to feeds 2024-06-22 12:36:08 -04:00
Rohan Kumar
d3081ddc8a
Fix post-meta partial
Instead of scratch variables, pass an additional variable into the
template context
2024-03-18 17:56:02 -04:00
Rohan Kumar
cc5b02b37f
Move admin namespace declaration to only invocation 2024-01-11 09:02:26 -05:00
Rohan Kumar
42978f527c
Add email to each atom entry 2023-12-13 02:38:03 -08:00
Rohan Kumar
2badbe2601
Use cache-busting partial instead of Fingerprint
This gives files much smaller fingerprints, and supports caching.
2023-12-08 16:08:40 -08:00
Rohan Kumar
319051e126
Add simple list extensions to atom feed
I use this to instruct feed readers on how to sort items. See
<https://learn.microsoft.com/en-us/previous-versions/windows/desktop/gg427659(v=vs.85)>
2023-12-03 21:55:40 -08:00
Rohan Kumar
be791111df
Improve use of threading extensions in Atom feeds
- Add content-type metadata
- Follow recommendation to add rel-related links for unsupported clients
- Replace slash:comments with rel-replies containing thr:count metadata
  and thr:total elements.
2023-12-03 07:34:04 -08:00
Rohan Kumar
da534b27a3
typo again 2023-12-01 16:59:06 -08:00
Rohan Kumar
8807d4a0c7
Disable WebSub
It didn't work :(
2023-12-01 00:19:32 -08:00
Rohan Kumar
0471cf9d7b
Typo 2023-12-01 00:18:06 -08:00
Rohan Kumar
a4cc0a02b8
Remove invalid link child of author 2023-11-29 13:45:52 -08:00
Rohan Kumar
bf7423e44a
Add websub and other feed metadata 2023-11-29 13:37:17 -08:00
Rohan Kumar
12b542c351
Actually use local bookmarks file 2023-11-29 11:54:53 -08:00
Rohan Kumar
fb33951b8f
Use UTC for all timestamps 2023-11-29 05:52:05 -08:00
Rohan Kumar
f8c8e6ae40
Add summary elements to Atom feeds
Should improve article previews in some readers. This also entailed
swapping out angle-brackets in one description to avoid errors.
2023-11-29 05:10:04 -08:00
Rohan Kumar
74038d9697
support related articles 2023-11-29 04:12:31 -08:00
Rohan Kumar
7de728fdfe
Avoid data races with codeIndex on feeds 2023-11-29 00:38:15 -08:00
Rohan Kumar
41106cc9fd
Add comment-count to atom feed, better varnames 2023-11-28 19:45:12 -08:00
Rohan Kumar
76a18c2541
Include more generator information.
- Add generator info to Atom feed.
- Add generator version and commit hash to meta page, along with a link
  to the last CI job if available.
- Use $JOB_URL to detect CI since that variable can be re-used to fetch
  the URL to the latest CI logs.
2023-11-27 19:38:56 -08:00
Rohan Kumar
add67b2e0c
Fix code snippet numbering in feeds 2023-11-27 14:59:13 -08:00
Rohan Kumar
03a1c18191
More feed metadata 2023-11-27 09:35:01 -08:00
Rohan Kumar
702750931a
Add more metadata to the Atom feed
- Add webfeeds.org metadata to improve presentation (icon, accentcolor)
- Add RDF Creative Commons license link
- Add fallback media thumbnail
2023-11-26 23:45:45 -08:00
Rohan Kumar
429dcda2cd
Minify feeds with xmllint
This works particularly well on my Atom feeds with embedded XHTML.
2023-11-25 19:05:53 -08:00
Rohan Kumar
d7f5ce4010
Add error-contact and site-vars to atom feed 2023-11-25 12:55:43 -08:00
Rohan Kumar
19d5fe2b00
Split up + organize some large partials
Use partialCached to avoid any perf penalty.
TODO: limit the scope I pass to them.

I noticed a teeny tiny perf improvement after doing this, probably
because now some giant data structures only need to be generated once.
2023-11-25 12:53:36 -08:00
Rohan Kumar
29d6d88d36
Continue my online preferred-name transition
Continue transitioning from my meatspace name to my preferred online
handle on seirdy.one
2023-11-24 12:57:18 -08:00
Rohan Kumar
36c049d0ef
Add u-syndication, clean up interactions
Add a new "Interactions" section to my pages that contain both
Syndication and Webmentions. Make the Syndication links u-syndication.

Make both these things children of the <article> h-entry.
2022-11-20 13:32:14 -08:00
Rohan Kumar
0b6c265223
schema.org: use more subtypes of "WebPage"
- Set "Articles" and "Notes" to "CollectionPage"
- Set "About" to "AboutPage" and "ProfilePage"

Since my "About" page now has two types, I had to alter the "stype" page
property to require a full URL.
2022-10-30 14:49:52 -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
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
8312af7632
add ID attrs to bmarks, link cleanup 2022-08-31 13:48:42 -07:00
Rohan Kumar
c3f574db0e
Include webmentions in all post types 2022-08-17 18:10:40 -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
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