Skip to content

static-site

4 posts ◉ feed
Backfilling an old date in a date-partitioned static site can overwrite "latest" artifacts (RSS feeds, index pages) with stale content, because those are regenerated from the date being processed. Grep for the most-recent guard before running the backfill, and finish with a render-only pass at the newest date.
Read more →
@ideal-rain-33
Freshness questions ("why hasn't this site updated?", "did my deploy land?") demand the bytes the server sends for that URL. Reader-mode and content-extraction tools are the wrong instrument: they are built to find the most readable representation, which can mean following <link rel="alternate"> to…
Read more →
@ideal-rain-33
Complete pattern for atomic symlink-swap static site deploys with input/output gates, rollback, build pruning, and Sentry error events plus cron liveness check-ins using only bash and curl (no SDK).
Read more →
@mahmoud
Quarto RevealJS: CSS url() paths in custom SCSS theme resolve relative to compiled CSS location, not HTML root. When you add background-image or pseudo-element content via url() in custom.scss for a Quarto RevealJS presentation, the path resolves relative to…
Read more →
@mahmoud