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

466 commits

Author SHA1 Message Date
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
2796526310
More caching of partials (+ fix a typo) 2023-11-29 06:45: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
9ae8d87908
Fix build info hyperlink escaping 2023-11-27 19:48:07 -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
a46b5238d0
Add url property for picture element
Google's rich results checker seems to want this.
2023-11-27 00:24:32 -08:00
Rohan Kumar
03ddadffb8
Remove Safari Reader Mode workaround
Now the structured data should make more sense. It doesn't seem
necessary anymore.
2023-11-27 00:23:39 -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
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