diff --git a/web/cards/hot-springs-trail.png b/web/cards/hot-springs-trail.png index 76f641e..54e1937 100644 Binary files a/web/cards/hot-springs-trail.png and b/web/cards/hot-springs-trail.png differ diff --git a/web/cards/north-boundary.png b/web/cards/north-boundary.png index a1204ad..bced0dc 100644 Binary files a/web/cards/north-boundary.png and b/web/cards/north-boundary.png differ diff --git a/web/olt/regions.py b/web/olt/regions.py index e56dfef..162bc8c 100644 --- a/web/olt/regions.py +++ b/web/olt/regions.py @@ -219,7 +219,7 @@ def regions_index_page(records, site, infos=()):

The {len(records)} trails by state and province, grouped into parts of the United States ({n_us}) and Canada ({n_ca}). A trail that crosses several states is on each one’s page.{lede_more}

- +
{blocks}
{foot}""" description = (f"Where the {len(records)} long trails and routes are: {n_us} in the United States and {n_ca} in Canada, " f"by state and province, with the number in each.") diff --git a/web/tests/test_place_links.py b/web/tests/test_place_links.py index e67d258..4e66214 100644 --- a/web/tests/test_place_links.py +++ b/web/tests/test_place_links.py @@ -66,6 +66,7 @@ class HubTest(unittest.TestCase): _, _, with_places = regions.regions_index_page(self.records, S, infos=self.infos) stripped = re.sub(r'
.*?
', "", str(with_places), flags=re.S) + stripped = stripped.replace(" or a kind of place", "") stripped = re.sub(r'
  • .*?
  • ', "", stripped) stripped = stripped.replace( " Parks, mountain ranges and wilderness areas with three or more trails have pages too.", "")