Rewrite the About page's opening for hikers, name the maintainer swaits, and stop typing counts by hand
The About page now opens with what the site is for: finding long trails, including ones the reader has not heard of. The maintainer is shown as swaits, linked to swaits.com. SOURCES.md no longer carries hand-typed trail counts, and tests derive the trail and route totals from the records. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
ba3e7dfd33
commit
d30c56a163
13 files changed
+42
-29
No files matched your search
@@ -380,7 +380,7 @@ class BuiltVocabularyTest(unittest.TestCase):
|
||||
def test_an_estimated_season_reads_about_on_its_page_and_a_stated_one_does_not(self):
|
||||
est = [r for r in records.load_records(ROOT) if facets.season_estimated(r)]
|
||||
stated = [r for r in records.load_records(ROOT) if not facets.season_estimated(r)]
|
||||
self.assertEqual(len(est) + len(stated), 224)
|
||||
self.assertEqual(len(est) + len(stated), len(records.load_records(ROOT)))
|
||||
for rec in est[:10]:
|
||||
doc = self.read(f"trails/{rec['id']}/index.html")
|
||||
self.assertIn(facets.season_text(rec), html.unescape(doc), rec["id"])
|
||||
|
||||
Reference in new issue
Block a user