From 07da53721ff0f13ea4c45b94ec1318d95b40e3c0 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Thu, 19 Nov 2026 13:14:03 -0700 Subject: [PATCH] Give every state and province with no listed trail a page that says so Co-Authored-By: Claude Fable 5.2 --- web/olt/leftout.py | 21 +++++++-- web/olt/pages.py | 7 +++ web/olt/regions.py | 58 ++++++++++++++++++++++- web/tests/test_empty_places.py | 85 ++++++++++++++++++++++++++++++++++ web/tests/test_pages.py | 5 +- 5 files changed, 168 insertions(+), 8 deletions(-) create mode 100644 web/tests/test_empty_places.py diff --git a/web/olt/leftout.py b/web/olt/leftout.py index f7627ac..48dd699 100644 --- a/web/olt/leftout.py +++ b/web/olt/leftout.py @@ -102,10 +102,15 @@ def _opening(entries, site): return Markup(" ".join(parts)) -def left_out_page(entries, site, repo_root): - """(title, description, body) for /left-out/, from left-out.toml entries.""" - bread = Markup('