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>
web/ is a static site generator for the dataset, in Python's standard
library only. `python3 web/build.py --out _site` writes a page for each
of the 138 records, a finder on the home page with a map of the 85
lines, region and route indexes, and the repository's documents as
pages. Each line is offered as the record's GeoJSON and as a GPX
simplified to 5 m, with two archives of everything.
The site's name and address are set in web/site.toml: Long Hikes, at
https://longhikes.org. The dataset keeps its own name.
netlify.toml and web/static/_headers configure the Netlify site
(content types, download dispositions, caching, a content security
policy with no inline script). It is deployed with the Netlify CLI
from a local build, because Netlify cannot build from this forge.
MapLibre GL JS and the two typefaces are vendored under web/assets/;
map tiles come from OpenFreeMap. Tests: python3 -m unittest discover
-s web/tests (164).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>