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

2177 commits

Author SHA1 Message Date
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
Rohan Kumar
2b016aa973
Refactor shell scripts.
- Avoid relative paths, so I can run them from any working directory.
- Make a dedicated curl-wrapping shell script instead of re-defining the
  same alias everywhere.
- Support extended offline periods: allow get-webmentions.sh to fall
  back to the cached copy of my webmentions for up to a day, and don't
  accidentally destroy it; keep changes atomic.
- Verify that the fetched webmentions are legit before replacing the
  cached ones.
- Make shellcheck happy about quoting in vnu.sh by passing the list of
  files with xargs instead of a shell variable.
2023-11-23 18:45:03 -08:00
Rohan Kumar
a3e4729b6c
Update Webhint configs
- More exact browserlist
- stop hiding "hint" execution
- Disable chromium sandbox since I'm now running it in a container and
  all content is trusted.
- Remove obsolete elements-to-ignore from the compatibility check.
- Re-enable the compression check but disable checking for Zopfli
  compression, which returns a fale-positive; I use
  efficient-compression-tool for gzip compression which is actually
  better than Zopfli.
- Stop ignoring the "X-Frame-Options" header in no-disallowed-headers,
  since I stopped sending that header.
2023-11-23 18:40:01 -08:00
Rohan Kumar
ba7453ca23
Add GitHub Sponsors 2023-11-22 09:18:50 -08:00
Rohan Kumar
59e660586e
Syndicate 2023-11-21 23:22:58 -08:00
Rohan Kumar
8e7865d106
Syndicate 2023-11-21 22:30:47 -08:00
Rohan Kumar
e51ae13397
I loved Violet Evergarden 2023-11-20 06:40:12 -08:00
Rohan Kumar
002b789667
Convert links to HTTPS 2023-11-19 16:45:37 -08:00
Rohan Kumar
13a0c9d082
syndicate 2023-11-18 19:33:09 -08:00
Rohan Kumar
3c59f28acc
New note: choosing an encrypted dns proto 2023-11-18 19:30:46 -08:00
Rohan Kumar
2e78097035
add linkhut social profile 2023-11-17 21:00:16 -08:00