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

2087 commits

Author SHA1 Message Date
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
a097b46950
Use local buku to get bookmarks if possible 2023-11-29 00:33:06 -08:00
Rohan Kumar
4581c83561
Make rsync output less noisy
Don't show .gz files: that's almost everything thanks to ect's
non-deterministic output
2023-11-28 19:46: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
ca16240b39
Remove some unnecessary containment
Some forms of containment help performance more than others. For certain
levels of perf improvement, it's not worth the extra bytes.
2023-11-27 12:27:23 -08:00
Rohan Kumar
26025d928c
re-introduce awk cmd previously thought obsolete 2023-11-27 12:27:14 -08:00
Rohan Kumar
03a1c18191
More feed metadata 2023-11-27 09:35:01 -08:00
Rohan Kumar
17d64ac60e
add a couple receipts 2023-11-27 04:18:21 -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
467baf6f2b
Fix syntax error 2023-11-26 23:59:31 -08:00
Rohan Kumar
3de047b413
skip stylelint, validate feeds in deploy-envs
stylelint is broken rn
2023-11-26 23:48:23 -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
7bd1a14ef5
avoid supressing compressor errors 2023-11-26 15:54:48 -08:00
Rohan Kumar
f4d43d1e35
rename file to remove annoying whitespace 2023-11-26 15:22:59 -08:00
Rohan Kumar
866ca1b386
Switch soem things from find -exec to xargs
Allows better filtering and doesn't supress exit codes. Since I'm no
longer supressing exit codes, I had to handle them properly in
copy-file-to-xhtml.sh by using if-statements.

This also allowed me to skip the generation of an XHTML redirect page.
2023-11-26 15:14:06 -08:00
Rohan Kumar
6487c5c7f3
Make html-validate skip redirect page 2023-11-26 14:57:56 -08:00
Rohan Kumar
c98b28f6fe
Make redirect alias valid XHTML5 2023-11-26 14:57:42 -08:00
Rohan Kumar
8971d74dac
try to get xmllint to print diagnostics 2023-11-26 14:37:07 -08:00
Rohan Kumar
59d6de6a92
re-title resume 2023-11-26 14:36:32 -08:00
Rohan Kumar
33b3c5211a
Move resume to "about"
Define a redirect alias too.

This also entails special xhtmlize behavior as redirects in Hugo don't
use trailing slashes.
2023-11-26 14:28:41 -08:00
Rohan Kumar
10259af99c
New note: some site optimizations 2023-11-25 19:18:24 -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
9ae88a5bef
Remove obsolete awk cmd from post-processing 2023-11-25 18:40:29 -08:00
Rohan Kumar
74ff22b8f4
remove obsolete comment 2023-11-25 18:25:37 -08:00
Rohan Kumar
c0f7318090
Trivial style fix 2023-11-25 13:41:35 -08:00
Rohan Kumar
d1711699d4
Opportunistically use pipefail 2023-11-25 13:40:52 -08:00
Rohan Kumar
a1b6a89a66
Makefile: only skip the Hugo cache during deploys 2023-11-25 13:36:43 -08:00
Rohan Kumar
6c9a8a9b20
Run Nu HTML Checker with both HTML and XML parsers
Requires silencing an HTML-only error that isn't actually an error, but
a hint that doesn't apply to polygot markup (warns against trailing
slashes which aren't a problem if you always use quotes).
2023-11-25 13:32:55 -08:00
Rohan Kumar
2e10fce294
Fix webmention issues for extended offline periods
It was still broken augh. This'll do the trick.
2023-11-25 12:59:55 -08:00
Rohan Kumar
074620f70e
Support custom timeout 2023-11-25 12:59:38 -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
3e3fda3ca2
Fix random cssjoy webring link 2023-11-24 22:57:57 -08:00
Rohan Kumar
6fcf7d6c98
Move breadcrumbs to footer 2023-11-24 22:00:58 -08:00
Rohan Kumar
4057781ec5
Move build instructions from README to seirdy.one
Also update them.
2023-11-24 21:43:46 -08:00
Rohan Kumar
129d9b34d2
Update test docs in README
No Webhint errors expected, feed validator runs offline now, also
feature redbot.
2023-11-24 21:08:57 -08:00
Rohan Kumar
ba3c58dfd9
Fix perms 2023-11-24 21:04:41 -08:00
Rohan Kumar
ece371a472
Remove cringe-ass opening to gnu/linux article 2023-11-24 21:00:04 -08:00
Rohan Kumar
de65f4d506
Move some CI logic to scripts/makefile
Also update some of its docs
2023-11-24 13:02:52 -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
d8eae6f057
fix fetching mentions when no webmention file exists 2023-11-23 20:05:54 -08:00
Rohan Kumar
aebc49772e
Fix: exit check_cached_webmentions early 2023-11-23 20:01:54 -08:00
Rohan Kumar
226ee52f85
Format shell scripts 2023-11-23 19:06:46 -08:00
Rohan Kumar
d88d98f829
Fix get-webmentions diagnostics 2023-11-23 19:03:40 -08:00