Link a breadcrumb's group to the group's own page
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s

The group crumb on a trail page went to an anchor on the places index;
it now goes to /regions/<group>/, as the state and province pages do.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-18 17:44:44 -07:00
1 parent fd7e0302ca
commit 9e435fa2a4
4 files changed
+38 -3

No files matched your search

+1 -1
View File
@@ -169,7 +169,7 @@ class PlaceTest(unittest.TestCase):
body = trail.render(fake(1, regions=["CO"]), GH)[2]
crumbs = body[body.index('<nav class="breadcrumb"'):body.index("</nav>")]
self.assertIn('<a href="/regions/">Places</a>', crumbs)
self.assertIn('<a href="/regions/#mountain-west">Mountain West</a>', crumbs)
self.assertIn('<a href="/regions/mountain-west/">Mountain West</a>', crumbs)
self.assertIn('<a href="/regions/us-co/">Colorado</a>', crumbs)