The search and filters bar is on every list, place and the Routes
page with ten or more trails, scoped to that page's set and closed to
start. The number beside each choice is recounted from the page's rows
on every change; a choice that would show nothing is hidden; a filter
that cannot narrow the page is left out. The open panel sits in the
flow and pushes the rows down. Each part of the country has a page of
its own, and the links to the home page "with the filters" are gone.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The meta description counted distinct credit lines (43) while the page
counted authors with a page (45). Both now use the number of authors
listed on /authors/, and a test holds them equal.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Every page that shows a set of trails (home, places, lists, Routes,
authors, Triple Crown, rankings, newest) has the same layout: the
trails as rows with their map beside them from 900 px wide up, and a
short map band above the rows when narrower. The home page gets its
headline back on the contour ground, with the ten lists as one line of
links. A trail page has its actions in its head and the map in a fixed
frame beside At a glance. No page sets a table: every set of trails is
the standard trail row, and other sets are rows in the same language.
Route authors' names link to their pages from route rows and trail
pages, the Routes page says how many routes by how many authors, and
the Lists index has a Route authors entry.
No trail's facts changed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Lengths and what belongs:
- A trail's length is now the end-to-end length of its canonical path: one
branch at a split, no side trails, no system totals. A holder's larger
figure and the built length of an unfinished trail are separate fields
(`system_km`, `system_note`, `built_km`), shown under the length.
- Corrected: Florida Trail 1,500 to 1,130 mi, American Discovery Trail
6,800 to 5,008 mi, Ozark Trail to 230 mi, General Crook Trail to 138 mi,
Sheltowee Trace to 343 mi, Allegheny Trail to 316 mi, Great Eastern
Trail to 1,800 mi.
- The Florida Trail's and the Ice Age Trail's main tracks are re-cut as
one walk; the other branches are alternates.
- A trail must be walkable from end to end today. Nine trails that are
not, are a network, or fall under the floor move to the "Considered and
left out" list. The Bayou State Trail is added. 196 trails.
Pages:
- The trail page puts the map and At a glance directly under the title;
the home page drops its oversized hero and shows the trails and the map
at once. Place and list pages put the list beside the map.
- Every map starts by itself once the page is ready, over a drawing of
the tracks that is in the page from the first paint.
- Lists is in the header. The home page shows ten lists chosen in
`collections.toml`. Tables have equal columns and stack on a phone.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- 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>
Sorting. Every list of trails has a "Sort by" menu: name, length, time
or climb, each in both directions. Where the list is a table, the
Trail, Length, Time and Climb heads sort on click and reverse on a
second click. Lists open by name, A to Z, except the four that are
defined by an order (the longest, under 100 km, a week or less, one to
two weeks). The chosen order is kept in the page address. The pages are
written in their default order, so they are right without JavaScript.
Maps. A trail with no track but a known start and end is drawn as a
dotted straight line between the two with a ring at each; one with a
single known point is drawn as a ring. They follow the filters, the
row highlight and the popup like any track, and that trail's own page
shows a map in place of the empty frame. The legend, the caption and
the popup say the dotted line is not the trail's path. It gives no
download, no GPX status and no elevation.
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>
The pages called the thing a hiker downloads and sees on the map a
"line". They now call it a track, name the format on download links
("Download GPX and GeoJSON"), and speak of the map where the text is
about what is drawn. Field and file names shown on purpose keep
"line" (line.geojson, line_policy).
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>