andweg.dev

Uczta dla Wron

A rules reference for a Polish play-by-Discord game set in the world of A Song of Ice and Fire, built on Quartz v5.

Polish search that works without diacritics, and a patched Quartz that fails the build instead of shipping broken URLs.

The Uczta dla Wron rules reference

Quartz exposes no hook for slugs, collation or search normalisation. Search, backlinks and the table of contents each bundle their own Polish strings, so the core locale file is not enough. A patch runner rewrites them at postinstall, failing the build when a patch stops matching.

ł has no Unicode decomposition. Every other Polish diacritic folds under NFD; ł does not, so NFD-based folding fails silently on exactly one letter. Search folds index and query through an explicit table. Typing pobor now finds Pobór.

Accessibility and layout treated as budgets, not aspirations. Body text measures 13.28:1, links 6.72:1. The layout holds at 375px — most players read inside Discord’s in-app browser.

Rubricated headings, drop caps, margin notes, and a masthead replacing Quartz’s sidebar through CSS grid alone.

The game is by VegetaZen; the site is mine.

Stack
Quartz v5, Custom Node patch scripts, SCSS, Cloudflare Pages
Links

Back to all projects