Add 19 trails and 20 tracks, record stated permission, and remove the C&O Canal Towpath
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s

A deeper, region-by-region search of the web added 14 official trails and
4 routes. The Hoosier Heritage Trail was added at its association's request
(issue 2) with the association's own track, shared by written permission.

- New licence value `stated-permission`, with the quoted words, who gave
  them, when and where as fields of the record, shown on the trail page
  and carried in the GPX description.
- Tracks from OpenStreetMap or the Forest Service's open trail data for
  eleven of the new trails and seven existing ones. `tools/osm_track.py`
  can join several relations and leave ways out by name.
- The C&O Canal Towpath is removed: the rule leaves out canal towpaths.
- The Grand Enchantment Trail is recorded as a route by its author, with
  no track.
- Corrections to the Finger Lakes, Ozark Highlands, Eastern Continental
  and Knobstone records, checked against the pages they cite.
- Site: the list pages' own units switch is gone in favour of the header
  one; the map switch and a swapped length range stay in step with the
  page.
- CHANGELOG.md brought up to date from the site's opening to today.

204 trails: 147 official trails and 57 routes; 126 have a track.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-16 12:22:56 -07:00
1 parent c11a72a7dd
commit d34a9617cd
127 files changed
+2612 -358

No files matched your search

+1 -9
View File
@@ -371,14 +371,6 @@ def list_head(sort_key="name"):
</div>"""
UNITS_TOGGLE = """<fieldset class="results-units">
<legend class="vh">Lengths</legend>
<div class="seg seg--small">
<label><input type="radio" name="units-list" value="mi" checked><span>mi</span></label>
<label><input type="radio" name="units-list" value="km"><span>km</span></label>
</div>
</fieldset>"""
# The order a saved list was made in: offered first on the Saved page only,
# where app.js numbers the rows (data-order) in the order they were saved.
SAVED_ORDER = ("saved", "Order saved")
@@ -470,7 +462,7 @@ def results(recs=None, *, finder=False, groups=None, routes_list=False, default_
else:
count = f'<p class="results-count"><strong>{total}</strong> {noun}</p>'
empty = ""
tools = sort_select(default_sort, saved=saved) + "\n " + UNITS_TOGGLE
tools = sort_select(default_sort, saved=saved)
dflt = SAVED_ORDER[0] if saved else default_sort
return Markup(f"""<div class="results" data-sortable data-default-sort="{esc(dflt)}">
<div class="results-head">