levineuwirth.org/build
Levi Neuwirth 0379dda908 Degrade gracefully on corrupt backlinks JSON
If data/backlinks.json fails to parse, every page that uses the
backlinks context aborts with 'fail'. The JSON is build-generated;
corruption is unlikely but not impossible (interrupted writer, disk
issue). Switch to noResult so the affected pages render without the
backlinks block instead of failing the whole build. The next clean
build regenerates the JSON.

Note: commonplace.yaml and now.yaml deliberately keep fail-fast —
they're hand-edited and silent fallbacks would mask author typos.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 15:08:54 -04:00
..
Filters Inline code reference previews 2026-05-02 10:40:43 -04:00
Authors.hs more prominent related pages 2026-05-03 14:01:14 -04:00
Backlinks.hs Degrade gracefully on corrupt backlinks JSON 2026-05-07 15:08:54 -04:00
BibExtras.hs Tighten partial patterns and switch to strict file reads in build/ 2026-05-07 15:08:47 -04:00
Catalog.hs Tighten partial patterns and switch to strict file reads in build/ 2026-05-07 15:08:47 -04:00
Citations.hs Navigation refactor 2026-04-19 14:35:41 -04:00
Commonplace.hs audit: Haskell build system correctness + Patterns.hs + Stats blaze rewrite 2026-04-10 17:41:13 -04:00
Compilers.hs Spec dilemma 2026-05-01 21:22:01 -04:00
Contexts.hs Spec dilemma 2026-05-01 21:22:01 -04:00
Dingbat.hs major visual changes - dingbats, footer, etc 2026-04-17 12:48:22 -04:00
Filters.hs Inline code reference previews 2026-05-02 10:40:43 -04:00
Main.hs initial deploy! whoop 2026-03-17 21:56:14 -04:00
Now.hs Current rework 2026-04-26 19:42:47 -04:00
Pagination.hs Navigation refactor 2026-04-19 14:35:41 -04:00
Patterns.hs Spec dilemma 2026-05-01 21:22:01 -04:00
Photography.hs more prominent related pages 2026-05-03 14:01:14 -04:00
SimilarLinks.hs major visual changes - dingbats, footer, etc 2026-04-17 12:48:22 -04:00
Site.hs Add robots.txt and sitemap.xml; tidy essay-route prefix-strip 2026-05-07 15:08:33 -04:00
Stability.hs Tighten partial patterns and switch to strict file reads in build/ 2026-05-07 15:08:47 -04:00
Stats.hs Tighten partial patterns and switch to strict file reads in build/ 2026-05-07 15:08:47 -04:00
Tags.hs Tighten partial patterns and switch to strict file reads in build/ 2026-05-07 15:08:47 -04:00
Utils.hs Tighten partial patterns and switch to strict file reads in build/ 2026-05-07 15:08:47 -04:00