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

496 commits

Author SHA1 Message Date
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
6fcf7d6c98
Move breadcrumbs to footer 2023-11-24 22:00:58 -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
25367c55e7
Remove extra target URL components for webmentions
Remove query params, port numbers, bad schemes, anchors, etc. from
webmention target URLs.
2023-11-17 17:22:38 -08:00
Rohan Kumar
d1fd05e56e
Switch from markdownify to Page.Renderstring
Just for consistency
2023-11-10 10:02:05 -08:00
Rohan Kumar
867072103d
Add “privacy policy” link relation
Recently merged into the WHATWG HTML Standard:
<https://github.com/whatwg/html/pull/9860>

Originally defined in section 4 of RFC 6903:
<https://datatracker.ietf.org/doc/html/rfc6903#section-4>
2023-11-10 09:55:09 -08:00
Rohan Kumar
f98709272a
Fix regex for stacked <dt> with id attributes 2023-11-04 17:04:07 -07:00
Rohan Kumar
6af31764a0
Include my handle in the byline
First step of transitioning to making Seirdy the primary name.
2023-11-03 09:51:33 -07:00
Rohan Kumar
518b8b9856
Fix gemini URLs 2023-11-03 09:47:06 -07:00
Rohan Kumar
429c1b731d
support additional name field for indieweb-author 2023-11-01 13:13:32 -07:00
Rohan Kumar
53ad66f469
Add anchor links to receipts 2023-10-20 04:06:12 -07:00
Rohan Kumar
4b9927ff33
Fix bad trim
Accidentally deleted webmention contents, oops
2023-10-12 14:24:42 -07:00
Rohan Kumar
1a35c861df
Remove trailing whitespace
courtesy of html-validate
2023-10-06 18:22:32 -07:00
Rohan Kumar
efda7d0b69
Remove broken search 2023-10-06 07:22:12 -07:00
Rohan Kumar
6b0da8c26d
Picture shortcode: jpeg support 2023-09-08 10:59:34 -07:00
Rohan Kumar
0e6ee4af62
Fix reply contexts 2023-08-23 16:09:35 -07:00
Rohan Kumar
d88711d62c
Support NewsMediaOrganization publishers 2023-08-15 09:14:07 -07:00
Rohan Kumar
f8fb0dc0c9
pingback-webmention conversion with webmention.io
someday i should replace this with a self-hosted option
2023-08-07 17:50:36 -07:00
Rohan Kumar
0b225ebff6
Switch log-url back to markdown logs
Some posts have different content on markdown versus gemini, so use
different log urls.
2023-08-05 15:21:38 -07:00
Rohan Kumar
61c67556b5
Start posting receipts 2023-07-30 17:16:37 -07:00
Rohan Kumar
6fc55df736
Render webmentions whose targets have fragments
If a target URL has a fragment, it should match against the page URL
even without the fragment.
2023-07-22 17:26:11 -07:00
Rohan Kumar
6391da4aa7
Add the Hugo generator meta-tag again
Finally found a legitimate use-case:
https://www.marginalia.nu/release-notes/v2023-06-0/#generator-keywords
2023-07-22 15:14:53 -07:00
Rohan Kumar
f31763b9b1
Simplify interactions section a bit
Inspired by feedback from sysinhell:
https://pleroma.envs.net/notice/AVe4QxnEKCRXmDn6Bs
2023-05-26 21:09:31 -07:00
Rohan Kumar
ced6576343
trivial case-sensitivity fix 2023-01-04 21:19:54 -08:00
Rohan Kumar
03dca7f71a
auto clean dead links 2022-12-31 17:29:34 -08:00
Rohan Kumar
a22528a3b5
Fix: fetch webmention json only once
Hugo parallelization means the webmention json may be fetched multiple
times, which is excessive.
2022-12-24 08:26:31 -08:00
Rohan Kumar
a72a0622ea
New non-generalist search engine: High Browse 2022-12-20 13:50:45 -08:00
Rohan Kumar
5f1cf3b2b2
Use pleroma.envs.net links when possible
Should reduce dependency on brid.gy a little; once a mention is
received, it no longer needs brid.gy to be up and running.
2022-12-19 19:53:41 -08:00
Rohan Kumar
8709bf9ec2
Overhaul webmention generation
Use a new branch of webmentiond that lets me pull in all webmentions for
all pages in a single JSON response

Before, Hugo would make one request to webmentiond per page to ask for
approved webmentions for that page. Sometimes, it makes two requests
because some pages used to have a different canonical location. In all,
it ended up making over 150 requests within a second or two. Webmentiond
can handle this for now, but this isn't sustainable: page count will
only increase with time. I wanted to have Hugo instead get all
webmentions for all pages in one cached request.

I recompiled webmentiond from
https://github.com/zerok/webmentiond/pull/65, which updates the API to
support admin access keys. The admin API allows pulling in all
webmentions for all pages, instead of pulling them in for one page at a
time.

Doing so requires getting a bearer token, so I had to manage a new CI
secret: the password for getting a token. I get the token in a shell
script (get-token.sh) and write it to a temporary file, then have Hugo
read the token from that file. The shell script gets the password using
either the CI secret (in CI) or using my password manager (on my
workstation).

TODO: support marginalia (mentions with fragments in their targets)
2022-12-19 11:07:57 -08:00
Rohan Kumar
ffb8d80a09
auto clean dead links
Thanks to Fristi for giving permission to use archived links!
2022-12-13 11:01:17 -08:00
Rohan Kumar
5aa8bf2d39
New article: the phrase "GNU/Linux" 2022-12-09 13:48:49 -08:00
Rohan Kumar
34ed405978
A11y: fix some bad semantics
- Don't give footers without roles an aria label
- Remove a skipped heading level.
2022-11-26 12:01:41 -08:00
Rohan Kumar
7356293c45
auto clean dead links 2022-11-26 00:10:17 -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
bf0f039982
Add some culture to the prev-next footer widget 2022-11-20 10:44:37 -08:00
Rohan Kumar
d3ab4a5cc2
fix indielogin 2022-11-19 17:18:22 -08:00
Rohan Kumar
6ec8e63eee
Add webmention URL re-writes
This allows me to update a webmention URL if it breaks or changes and
the admin didn't bother putting a re-direct in place.

I shouldn't have needed to do this. Cool URLs don't change.
2022-11-17 20:16:57 -08:00
Rohan Kumar
970ba274f5
auto clean dead links 2022-11-17 17:02:43 -08:00
Rohan Kumar
66f0235599
auto clean dead links 2022-11-15 14:50:42 -08:00
Rohan Kumar
9e648b360a
auto clean dead links 2022-11-11 16:37:38 -08:00
Rohan Kumar
18bde546a5
auto clean dead links 2022-11-06 21:51:10 -08:00
Rohan Kumar
597dae3a77
auto clean dead links 2022-11-01 22:42:10 -07:00
Rohan Kumar
a544b62726
auto clean dead links 2022-11-01 22:22:47 -07: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
3d95547ede
auto clean dead links 2022-10-24 22:01:13 -07:00
Rohan Kumar
fe231b1237
Important announcement from the Scarfolk Council
For more information, please re-read
2022-10-24 12:48:14 -07:00
Rohan Kumar
631ca9445d
Smarten some punctuation 2022-10-24 12:47:37 -07:00
Rohan Kumar
28a29078d5
Fix overly long meta descriptions 2022-10-24 12:27:19 -07: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
fd87a8eb93
Add microdata for site name 2022-10-21 16:23:37 -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
9d91c5ac21
auto clean dead links 2022-10-19 13:16:26 -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
1c031ce891
auto clean dead links, linter conf update 2022-10-10 21:35:28 -07:00
Rohan Kumar
e618319e3a
Auto-fix dead links 2022-10-03 16:09:37 -07:00
Rohan Kumar
8fb4fa17a4
auto archive dead link 2022-09-23 22:48:25 -07:00
Rohan Kumar
112b9bdcdd
Add internet.nl badge to awards 2022-09-23 22:37:15 -07:00
Rohan Kumar
c2fafa8d97
fix entity escaping 2022-09-22 10:29:22 -07:00
Rohan Kumar
2e2a37583c
remove link from label 2022-09-22 09:09:49 -07:00
Rohan Kumar
63e6f8021f
Drop some extra whitespace 2022-09-18 16:06:04 -07:00
Rohan Kumar
0fb45529c7
Fix webrings and webmentions 2022-09-16 20:24:43 -07:00
Rohan Kumar
78d7ec194a
Auto link cleanup 2022-09-09 13:51:05 -07:00
Rohan Kumar
8312af7632
add ID attrs to bmarks, link cleanup 2022-08-31 13:48:42 -07:00
Rohan Kumar
9aac9680fc
Auto-fix dead links 2022-08-24 20:16:20 -07:00
Rohan Kumar
0ff306e589
Simplify webring list, fix list-item cutoff
- CSS containment was cutting off nested list-item markers; increase
  their padding to compensate
- Remove nested <details> use, it was causing problems and was probably
  unnecessary
2022-08-24 20:14:09 -07:00
Rohan Kumar
c3f574db0e
Include webmentions in all post types 2022-08-17 18:10:40 -07:00
Rohan Kumar
b98a0ef4c6
Auto-fix dead link 2022-08-13 14:25:05 -07:00
Rohan Kumar
dcb08d9fd4
Allow reply-context without author 2022-08-12 00:00:03 -07:00
Rohan Kumar
36c9092073
Fix bad links 2022-08-11 21:30:20 -07:00
Rohan Kumar
6f9d418285
Replace unnecessary use of <br> with something simpler 2022-08-08 17:30:43 -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
09e14bcfc2
Minor markup adjustments
- Move a horizontal rule from inside an element to outside it
- Add a horizontal rule
- Remove redundant info from some webmention titles
2022-08-02 18:20:52 -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
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
30e59289ce
Fix invalid schema/comment property 2022-08-01 20:55:16 -07:00
Rohan Kumar
b39fcc6b78
Remove unnecessary empty open graph alt-text 2022-08-01 20:54:12 -07:00
Rohan Kumar
99107161f0
Remove unnecessary horizontal rule 2022-08-01 20:53:29 -07:00
Rohan Kumar
0fd4ad9f4f
Make list pages structurally consistent 2022-08-01 20:53:21 -07:00
Rohan Kumar
2bdcd17970
Join Netizens webring 2022-08-01 20:51:07 -07:00
Rohan Kumar
5df229bfc8
Styles: more containment, fix spacing 2022-07-24 11:28:23 -07:00
Rohan Kumar
cd8d0e88ae
Webmentions: don't use a <dl> for no mentions
When I have no webmentions, I shouldn't use a <dl> to describe the
menchie placeholder.
2022-07-17 19:25:38 -07:00
Rohan Kumar
035dcada58
Drop redundant aria-required attr 2022-07-15 22:45:00 -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
80ef3a4a9a
Refactor to make more body text narrow
Now more text should fall within WCAG limits.
2022-07-11 17:27:00 -07:00
Rohan Kumar
5183118ee7
Exclude Gemini privacy policy from sitemap/atom 2022-07-11 15:24:48 -07:00
Rohan Kumar
77c44184c8
Allow autosuggestions in webmention form 2022-07-11 15:23:39 -07:00
Rohan Kumar
46c6b02d36
Allow spellcheck in search input 2022-07-11 15:22:52 -07:00
Rohan Kumar
8ef0519a5c
Add section permalinks to non-article sections 2022-07-11 15:20:13 -07:00
Rohan Kumar
9d4f18ffde
a11y: Make backlink label start with name
The WCAG "label in name" SC requires visible labels to contain
accessible names, preferably by having accessible names start with
visible labels. This commit makes footnote backlinks display as a
hyperlink reading "Back" to meet this SC.
2022-07-11 15:18:15 -07:00
Rohan Kumar
0aafdaaddf
New section: "Meta"
Move all content about the site itself to a "meta" section.
2022-07-10 22:36:22 -07:00