- New pages built from the records: lists by length, time to walk,
month, kind of walking and holder; place-by-list pages; a Triple Crown
table and key-figure tables for the National Scenic and Recreation
Trails; highest points, most climbing and climb per mile; a page for
every route author, with the authors of three or more routes leading
the authors page; connected trails; recently added and changed; a
glossary and a method page. Every place page opens with a summary.
- Trail pages open with an "In brief" paragraph generated from the
record and show when the record was last checked. The About page says
who maintains the site and how to reach them.
- The map starts when it is reached, not with the page. The site's own
CSS, scripts and fonts are fingerprinted and cached for a year. Every
image has its dimensions.
- Titles are held to 60 characters and share previews get their own
shorter description.
- Social cards are redrawn so a long name can no longer push text into
the footer, and the site-wide card takes its wording from the site
settings instead of an old hand-made image.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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>
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>
Units. Miles and feet now come first everywhere unless the reader
chooses kilometres and metres: paired figures, the time estimate, the
elevation profile, page descriptions and the map scale. The length
filter and the length scale use round mile steps (round kilometre steps
for a reader who chose them). The lists defined by length are now
"Under 100 miles" and "The longest" at 1,000 miles or more; the old
/lists/under-100-km/ address redirects. The records stay metric.
Branding. The tab icon was a bare red blaze that read as a red block;
it is now a mountain with a trail up it, with PNG sizes for browsers
and phones that need them. The home page opens with the mark, the name
and what the site offers. Link previews get a real 1200x630 image:
the old one was an SVG, which Reddit, Slack and iMessage do not draw.
The decorative contour lines now stay inside the content column and
thin out to nothing on every side, where they used to run to the right
edge of a wide window and stop dead at the bottom of the band.
Tests updated for the new trail counts.
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>