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

494 commits

Author SHA1 Message Date
Seirdy
d46de9ce29
Use "an" instead of "a" in some reading times
"11" and "18" minute reading times now use "an" as they start with a
vowel sound but aren't qualified by "short", "somewhat long", "long", or
"very long". before, it said "a 11 minute read" but now it'll say "an 11
minute read".
2024-09-13 01:01:34 -04:00
Seirdy
d11f411a88
Typo in x-robots tag 2024-08-07 02:11:36 -04:00
Seirdy
b07f06e009
Stop using deprecated functions
- Replace getCSV with resources.Get | transform.Unmarshal. This required
  moving my CSV data to the assets directory, for some reason. Ugh.
- Switch from site.LastChange to site.Lastmod.
2024-07-14 02:08:34 -04:00
Seirdy
566539df67
make alt attr use double quotes 2024-07-14 01:49:20 -04:00
Seirdy
9847fadf95
stop adding placeholder thumbnails to feeds 2024-06-22 12:36:08 -04:00
Seirdy
6a58b5a747
Optimize footer layout
Move badge out of nav element, add another horizontal bar to divide
them.
2024-06-17 05:15:33 -04:00
Seirdy
f5362ee6c1
Add badge to footer 2024-05-30 04:47:09 -04:00
Rohan Kumar
cbd0b6d1fb
Hide ToC on print 2024-05-01 12:28:35 -04:00
Rohan Kumar
19082080ad
Remove improper use of rel-canonical on anchors 2024-04-22 01:01:20 -04:00
Rohan Kumar
e591c9d1ee
Update picture shortcode to support GIF 2024-04-19 18:55:45 -04:00
Rohan Kumar
c21aefb5d3
Webrings list: make webring name the home link
Happens to resolve a styling issue too
2024-04-19 02:39:09 -04:00
Rohan Kumar
604f1dc26d
syndicate, add reply date 2024-04-15 10:48:38 -04:00
Rohan Kumar
5371560880
Fix newline issue 2024-04-05 17:56:15 -04:00
Rohan Kumar
c1c3353a84
Fix cited-work for orgs and a lack of links 2024-04-05 17:47:02 -04:00
Rohan Kumar
75db0fe0fa
Meta: refine link to build environment
- Link to workstation info when building locally.
- More clearly link to build log when building in CI.
2024-03-25 01:55:09 -04:00
Rohan Kumar
0b1a504b65
Fix onion site u-photo
Switch away from inline images; they cause more problems than they're
worth.
2024-03-18 18:09:15 -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
83a081438b
Fix conditional for indexing reqs 2024-03-13 03:11:35 -04:00
Rohan Kumar
4a11ca9f39
opt out of gen-ai training 2024-03-12 20:29:15 -04:00
Rohan Kumar
4e192084b2
Fix off-by-one for codeindex 2024-01-30 18:50:04 -05:00
Rohan Kumar
b1c5584679
Fingerprint webmanifest with FNV32a instead of md5 2024-01-30 18:02:00 -05:00
Rohan Kumar
bf8aadf8bb
Update for Hugo 0.123
- Stop using symlinks for template files, since those seem to have
  broken.
- Force int data type for scratchpad integers since type inference seems
  to have changed.
2024-01-30 17:44:23 -05: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
dc9a9e42ea
move webmention endpoint to different subdomain 2023-12-07 23:53:25 -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
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