Tag: astro
If you're getting a 400 Bad Request with "Invalid signature" from your
Stripe webhook on Cloudflare Workers or Cloudflare Pages, the actual
problem might not be your webhook secret at all.
The symptom#
The Stripe webhook endpoint returns:
400 Bad Request
Invalid signature
In St…
For years I have been running this blog on Zola without any comment system.
The static nature of Zola made adding comments non-trivial and I was not
keen on third-party solutions like Disqus or Giscus. When I migrated to
Astro (not yet published at the time of writing), the oppor…
In my previous post I
covered how Zola validates internal links and anchors at build time. As I'm
considering migrating my blog to Astro, I needed to solve the same problem:
how do I ensure that fragment links (anchors) actually point to existing
headings? Here's how I set up fra…
While migrating my blog from Zola to Astro, I ran into an issue with
RouterOS syntax highlighting. Astro uses Shiki for code highlighting, and
Shiki doesn't include RouterOS out of the box. Here's how I solved it.
The problem#
When building the Astro site, I saw warnings like:
[…