levineuwirth.org/build
Levi Neuwirth 154b47a4cb Marks II: broader monogram coverage + audit-marks tool
Extends the Phase-1 monogram mark system to every long-form content
type (essays, blog posts, poems, fiction, music) and introduces a
coverage audit so gaps are visible.

* build/Marks.hs gains hasMonogram (predicate), monogramSvgFieldFor +
  hasMonogramFieldFor (for explicit-path callers like the /build/ and
  /stats/ pages). Contexts.hs exports hasMonogramField as a siteCtx
  boolean so templates can conditionally render the slot without
  emitting an empty <div>.
* essay.html, blog-post.html, reading.html: hoist the frontmatter
  block out of <main id="markdownBody"> so the monogram + epistemic
  marks render as wrapper chrome rather than indexable prose; left
  + right mark slots are now unconditional (CSS handles the empty
  state) so the layout is grid-stable across pieces.
* templates/partials/item-card.html: optional monogram chip on cards
  (item-card--has-monogram modifier), gated on $has-monogram$ so
  monogram-less pieces stay flush.
* build/Stats.hs grows a "Marks coverage" telemetry section: per-type
  pieces / monogram / epistemic-figure counts + a coverage rollup,
  rendered between epistemic and output on /build/.
* tools/audit-marks.py: coverage report (ASCII table) walking
  content/**/*.md, plus a pre-commit hook at
  tools/hooks/pre-commit-marks.sh that runs the same scan against
  newly-staged .md files. New `make audit-marks` runs the report
  manually; the hook gates commits.
* static/css/marks.css: layout for the new frontmatter slots and the
  item-card monogram chip.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 12:05:08 -04:00
..
Filters Add link archive system: snapshots, backlinks, link-rot 2026-05-23 10:06:33 -04:00
Archive.hs Add link archive system: snapshots, backlinks, link-rot 2026-05-23 10:06:33 -04:00
ArchiveIndex.hs Add link archive system: snapshots, backlinks, link-rot 2026-05-23 10:06:33 -04:00
Authors.hs more prominent related pages 2026-05-03 14:01:14 -04:00
Backlinks.hs Add link archive system: snapshots, backlinks, link-rot 2026-05-23 10:06:33 -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 Marks II: broader monogram coverage + audit-marks tool 2026-05-23 12:05:08 -04:00
Dingbat.hs major visual changes - dingbats, footer, etc 2026-04-17 12:48:22 -04:00
Filters.hs Add link archive system: snapshots, backlinks, link-rot 2026-05-23 10:06:33 -04:00
Main.hs Add link archive system: snapshots, backlinks, link-rot 2026-05-23 10:06:33 -04:00
Marks.hs Marks II: broader monogram coverage + audit-marks tool 2026-05-23 12:05:08 -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 link archive system: snapshots, backlinks, link-rot 2026-05-23 10:06:33 -04:00
Stability.hs Marks I 2026-05-07 23:51:14 -04:00
Stats.hs Marks II: broader monogram coverage + audit-marks tool 2026-05-23 12:05:08 -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