Say what each page is in the words people search with, and mark up the facts
A whole-site search audit found clean foundations and three gaps: titles without the words people search for, no structured data on trail pages, and trails that did not link to each other. - Trail titles carry the name hikers use, the abbreviation, the length and what the page offers; "GPX" only where the page has one. A new optional `common_name` field holds the name hikers use (13 records). - Descriptions are built from each record, at most 155 characters. - Place and list pages are titled for what they are; heading levels no longer jump. - Trail pages link to similar and related trails and to the lists they belong to. Every trail has at least three links from other trails. - JSON-LD on every page: a Place for each trail, breadcrumbs, item lists on list and place pages, WebSite and Organization on the home page, a fuller Dataset on the data page. - A social card per trail, a changelog feed, `lastmod` in the sitemap from record dates, `noindex` on the 404 and on raw per-trail files, a favicon and an `llms.txt` listing the data files and licences. - The "Considered and left out" page has its spacing fixed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
a46338afd5
commit
5b80fccd1e
245 files changed
+2534
-137
No files matched your search
@@ -122,7 +122,8 @@ class TrailPageTest(unittest.TestCase):
|
||||
self.assertIn('href="https://trail.example/facts"', about)
|
||||
self.assertIn("For start, end, time and season", text(about))
|
||||
self.assertIn("Checked 2026-11-13.", text(about))
|
||||
self.assertEqual(trail.description(rec)[:52], "A long walk along the crest of the Example Range. Wh")
|
||||
self.assertTrue(trail.description(rec).startswith(
|
||||
"A trail of 62 miles (100 km) in Arizona, usually 5 to 7 months. A long walk along the crest"))
|
||||
|
||||
def test_partial_hike_table(self):
|
||||
rec = sample_record("X Trail")
|
||||
|
||||
Reference in new issue
Block a user