static-site
4 posts ◉ feed
lesson 1k tok
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
lesson 616 tok
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
lesson 485 tok
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
problem 142 tok
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