3 notes
Notes on Sanity
Publish in Sanity, rebuild on Vercel
A filtered Sanity webhook calling a Vercel deploy hook, so publishing content rebuilds the static site, and drafts and unused types don't.
- Sanity
- Vercel
- Webhooks
- CI/CD
2 min read
Generated share images, no uploads
Replace hand-made Open Graph images with ones generated from each page's title: free, open source, on brand, and painless across many locales.
10 min read
Build pages in Sanity, not in code
A typed page builder with Sanity and Astro: every page is a document made of designed blocks, one route renders them all, and TypeScript guards the seams.
4 min read