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>
- Emblems for 81 trails, up from 41. Each is the trail's own crest, badge
or roundel alone, cropped out of a larger logo where need be and made
transparent where that could be done cleanly. Records without one say
where an emblem was looked for. The validator checks the logo state.
- Every record has a `[[history]]` list: what changed or was asked for,
on what basis, who asked and whether it was applied or declined.
`tools/check_history.py` fails a changed fact with no history entry and
prints earlier entries about a changed field. It runs in CI before the
site deploys. Each trail page shows the history.
- A new page, "Considered and left out", built from `left-out.toml`:
35 trails and routes with the reason, the deciding fact and its source.
- The Hoosier Heritage Trail has its ends, its free map set and its
emblem from its association (issue 2). Any trail may list its holder's
own guide or map set.
- A stated permission is quoted in the download credit box.
- `tools/gpx_track.py` turns a GPX file from a holder or a hiker into a
record's track files.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A visitor can save trails with a star on every list row and a Save
button on each trail page. The list is kept in localStorage (lh-saved)
and shown at /saved/, with a map of only those trails and a link that
carries the list in its address (/saved/?t=id,id) so it can be
bookmarked or sent to another device or person. A list opened from a
link never overwrites the visitor's own; "Save these" adds to it. The
page is noindex and left out of the sitemap.
The miles/km switch and the auto/light/dark choice move from the footer
to the header on every page, beside a Saved link that shows the count.
They are hidden without JavaScript.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Trail maps now open on an outdoor style of our own, drawn on the same
OpenFreeMap tiles: hill shading and contour lines from the public
Terrain Tiles, woods, water, footpaths, and peaks with their heights.
Heights and contours follow the visitor's units. A switch on the map
goes back to the plain map and is remembered.
The home page's overview map is unchanged. If the elevation tiles or
the contour script fail, the map still loads without them.
The security policy allows the one elevation-tile path. The contour
add-on (maplibre-contour 0.1.1) is vendored with its licence, and the
elevation data is credited on the map, under it and in the footer.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The site read like a database. It is now a place to find and read about
long trails, and everything on it is still derived from the records.
- One kind of thing: a trail. A route is a kind of trail, explained
where the word first appears. The navigation is Trails, Places, About.
- The home page is the catalogue, with filters for where, length, time,
season, terrain, kind, walking, shape and GPX. A filter is offered
only when at least a third of the trails have a value for it.
- Lists (for example National Scenic Trails and Routes) and a Places
page that groups states and provinces into regions.
- A trail page leads with what a hiker needs: summary, at a glance,
map, downloads, elevation profile and where to go next. The dataset's
own fields sit in a collapsed "About this data" section.
- The trail list is a compact card on phones and beside the filters,
and a column table where it has the full page width.
- web/serve.py takes --bind, for viewing from another device.
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>