Commit Graph
33 Commits
Author SHA1 Message Date
swaitsandClaude Fable 5.2 5abd7b1ede Say "35 trails", not "35 of 35 trails", when nothing is filtered out
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The count above each set of rows keeps the "12 of 35 trails" form only
when some are filtered out, in the built pages and in the script alike.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 10:06:31 -07:00
swaitsandClaude Fable 5.2 76622257b7 Give the Rae Lakes Loop a track from OpenStreetMap
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The loop is 35.8 miles in one part, with the 1.9-mile stem from Road's
End as a side track. Loop plus the stem both ways is 39.5 miles, 4.5%
under the Park Service's 41.4.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 09:48:33 -07:00
swaitsandClaude Fable 5.2 4fab1708e6 Add the Rae Lakes Loop as a well-known trail under the floor
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
41.4 miles in Kings Canyon National Park on the Park Service's figure,
joining the small band of well-known multi-day trails of 60 to 80 km.
No track yet: the Park Service's public trails data has none for the
park, and OpenStreetMap's relation measures 13.5% short.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 09:36:15 -07:00
swaitsandClaude Fable 5.2 f3bf35b7c4 Add the Grand Sawtooth Loop
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
70 miles on Forest Service trails in Idaho's Sawtooth Wilderness, from the
Grandjean Trailhead, on the Sawtooth Association's figure. No track: the
loop has no single fixed path and the trails the guides name join into
about 60 miles.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 09:16:56 -07:00
swaitsandClaude Fable 5.2 2d6963ef77 Require a published length, limit required climbing to Class 3, and take the Escalante Overland Route off
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Mirror to forge / mirror (push) Canceled after 0s
The length rule is 50 miles, or five days for an author's route that is
short on miles, and every trail or route needs a published length. Nothing
harder than Class 3 may be required. The Escalante Overland Route, added
earlier today, needs difficult climbing by its author's own account and
is now on the left-out list under a new reason; Muddy Creek in the San
Rafael Swell is left out because its guidebook prints no mileage.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 08:20:23 -07:00
swaitsandClaude Fable 5.2 f88d37f196 Add the Escalante Overland Route, note Paria Canyon and Grand Gulch as left out, and let biographies use sourced pronouns
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The Escalante Overland Route is Steve Allen's 80-mile rim route from his
1997 guidebook, recorded without a track. Paria Canyon joins the left-out
list as below the floor, and the Grand Gulch note gains the through
length a guide site gives. 17 author biographies now use the pronoun
their cited sources use in place of repeating the surname.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 04:40:21 -07:00
swaitsandClaude Fable 5.2 f6ed2de8fd Add the Thorofare and South Boundary Trail, with a track from the Park Service
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
68 miles through Yellowstone from the Nine Mile Trailhead to the South
Entrance, published as one hike by Frommer's. The track is from the
National Park Service's public Trails dataset and has one 0.3-mile gap
near the Thorofare Ranger Station.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 04:14:27 -07:00
swaitsandClaude Fable 5.2 1ed0a68991 Put the filters on every list and place page, and count their numbers from the page
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
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>
2026-11-17 12:46:08 -07:00
swaitsandClaude Fable 5.2 f467fcb560 Say who each route author is, with a biography from the database
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
authors.toml gains a summary, a biography, the author's own site and
the pages each was read on, for people only. An author's page now
opens with the name and the summary, shows a joint credit only on the
route it applies to, and carries an About section after the routes.
People with three or more routes lead the authors page. Organisations
get no biography.

35 people have a summary and a biography and 4 a summary only, each
statement checked against the page it cites. Wilderness Mindset is
recorded as two people. The Sawtooth Wilderness High Route is credited
to Eric Poulin, who names himself as the author of Seeking Lost.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 12:09:34 -07:00
swaitsandClaude Fable 5.2 641c899409 Add a hiker's track of the California coast, and the Washington Coast Trail
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The California Coastal Trail gets its first track: one hiker's walk of
the whole coast, shared under CC BY 4.0 on issue 1, with gaps at each
water crossing and at the Camp Pendleton closure, and the hiker's
optional routes as alternates. The published length is unchanged.

The Washington Coast Trail is a new route record by the same author,
Cape Disappointment to Cape Flattery, about 180 miles, with the
author's track. Bay crossings and bus rides are gaps between parts,
and the record says how each is made.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 07:57:15 -07:00
swaitsandClaude Fable 5.2 51a393ec40 Give the Routes page one count of authors
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
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>
2026-11-17 07:14:31 -07:00
swaitsandClaude Fable 5.2 298f1b9fd9 Give every page of trails one layout, with the map beside the rows, and set no tables
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
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>
2026-11-17 06:40:16 -07:00
swaitsandClaude Fable 5.2 59f912c47c Re-cut fifteen more main tracks to one walk
Mirror to forge / mirror (push) Waiting to run
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
A scan of every track built from OpenStreetMap found fifteen whose main
track still held two ways between the same two points: road alternates,
high-water and seasonal routes, parallel branches and ways mapped twice.
Each main track is now one walk by the canonical branch, with the other
branch moved to the alternates or, where it was a mapping duplicate,
dropped. Each record's track note says how the branch was chosen, and
says so where it was taken by default.

Oregon Coast, Sunshine Coast, Mountains-to-Sea, Great Eastern, Mid State,
Knobstone, Thames Valley, Avon, Ozark Trail, Ozark Highlands, Ganaraska,
Bay Circuit, Sentier international des Appalaches, Mason-Dixon, Pinhoti.

No page layout changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 19:41:45 -07:00
swaitsandClaude Fable 5.2 8637181a2b Make a trail's length one end-to-end walk, and put the map and the trails in the first screen
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
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>
2026-11-16 18:57:21 -07:00
swaitsandClaude Fable 5.2 f2d3b71810 Add 130 views of the same records, speed up map pages, and say who maintains the site
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
- 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>
2026-11-16 16:51:13 -07:00
swaitsandClaude Fable 5.2 5b80fccd1e Say what each page is in the words people search with, and mark up the facts
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
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>
2026-11-16 14:57:30 -07:00
swaitsandClaude Fable 5.2 24bfbb2fa8 Show each trail's own emblem, keep a history on every record, and list what was left out
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
- 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>
2026-11-16 13:40:03 -07:00
swaitsandClaude Fable 5.2 d34a9617cd 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>
2026-11-16 12:22:56 -07:00
swaitsandClaude Fable 5.2 c11a72a7dd Add the Tonto Trail, the Maricopa Trail and the Across Utah Route
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
Three trails found by a sweep of southern Utah and northern Arizona:

- Tonto Trail (Grand Canyon National Park, 95 mi), with a track from
  OpenStreetMap relation 2836546.
- Maricopa Trail (Maricopa County, more than 315 mi), with a track from
  OpenStreetMap relation 4020964 and its side routes as alternates.
  The county's own map data is not used: its terms forbid commercial
  reuse.
- Across Utah Route (Jamal Green, about 700 mi), a route with no
  track; the record points to the author's pages.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:30:32 -07:00
swaitsandClaude Fable 5.2 601235d2cb Keep the filters, switches and saved stars in step, and trim the headline
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Mirror to forge / mirror (push) Canceled after 0s
"Clear search and filters" left the longest-length list on a step: the
script rebuilds the length options and did not mark "Any" as the
default, which is what a form's reset returns to.

The same kind of fault elsewhere:

- A length in the address in the other unit (?max=200km for a reader
  who uses miles) was dropped. It now takes the nearest step, and the
  address is rewritten on load to say what the controls show.
- After Back or a reload a browser may put a form's old values back
  after the script has run, or show an old copy of the page from its
  cache. The theme and units switches, the filters, the sort and the
  saved stars are set again when the page is shown.
- A theme or units change now reaches other open tabs.
- The popup on the home page's map follows the units and closes when
  the filters leave its trail out.
- The Saved page drops ?t= from the address when the list in it is the
  visitor's own.

The home page's headline no longer says "to compare and download", and
its subtitle no longer counts the GPX files.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 20:02:00 -07:00
swaitsandClaude Fable 5.2 46dc81523c Add saved trails, and move the units and theme switches to the header
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 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>
2026-11-15 16:01:29 -07:00
swaitsandClaude Fable 5.2 ad2223f427 Give trail pages an outdoor map
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
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>
2026-11-15 13:26:45 -07:00
swaitsandClaude Fable 5.2 540a3220be Add the Eastern Sierra High Route and three OpenStreetMap tracks
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
The Eastern Sierra High Route (Dan Stenziano, ESHR) is a sold route, so
the record has no track.

Thames Valley, Grand Valley and Nepisiguit Mi'gmaq now have tracks from
OpenStreetMap, with elevation. The Boreal Trail does not: OpenStreetMap
holds only three short pieces of it, and its record now says so.

osm_track.py tries a third Overpass server, and tries every server once
before it waits, so a dead one no longer costs minutes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 09:38:21 -07:00
swaitsandClaude Fable 5.2 e1f4c01aa7 Show an abbreviation only where a trail has one
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 trail's page and its row in a list show its abbreviation when the
record has one, and nothing when it has none. Trails that share an
abbreviation both show it, and a search for it lists them all.

A trail with no logo and no abbreviation gets a small neutral mark in
its box, where letters used to be made up for it. "About this data"
lists the abbreviation with a link to the page where it was seen.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 01:25:14 -07:00
swaitsandClaude Fable 5.2 94015cd86b Show a trail's other links, and the lists the site was checked against
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 trail's page lists its [[link]] entries under the main buttons, as
"More about this trail": the page's title, then who publishes it. The
official site stays the main button. A trail with no official site
gets its first link in that place, named by its publisher, and that
link is not repeated in the list.

The About page shows the README's new "Other lists of long trails"
section.

Tests updated for the new trail counts, and for there being no trail
left that spans a whole country.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 23:52:47 -07:00
swaitsandClaude Fable 5.2 19fabadd49 Put miles and feet first, and give the site a proper mark
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
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>
2026-11-14 20:37:14 -07:00
swaitsandClaude Fable 5.2 51baaa401e Sort every list of trails, and map trails that have no track
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
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>
2026-11-14 17:30:12 -07:00
swaitsandClaude Fable 5.2 b817d2097b Rebuild the site for people browsing trails
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
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>
2026-11-14 01:32:22 -07:00
swaitsandClaude Fable 5.2 249d866efe Do not say a logo was taken from a page when none is included
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
Fifteen records name where a trail's logo is held but include no logo
file. Their pages listed that link as "The page the logo was taken
from", with no logo anywhere on the page. The link now reads "The logo
holder's site; the logo is not included here", and the Logo section
says the trail has a logo, who holds it, and that no copy is in the
dataset.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:46:35 -07:00
swaitsandClaude Fable 5.2 30c306ecc6 Invite corrections: links on every page, issue forms, site checks
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Each trail's page now offers "Report a problem" (a GitHub form with the
record filled in), "Edit this record" and "History". The footer, the
home page and About link to the forms for a wrong record and a missing
trail, and Logos links to a form for a steward or creator who wants a
track or logo removed or re-credited. The links are built only when
repo_url in web/site.toml is a github.com repository.

.github/ has the three issue forms and a pull request checklist, and
the workflow also runs the site's tests and a build, on Python 3.12.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 13:17:20 -07:00
swaitsandClaude Fable 5.2 1760ae4da9 Name the dataset Long Hikes and say where changes are sent
The README is titled Long Hikes, after the site at longhikes.org, and
points to https://github.com/swaits/longhikes for issues and pull
requests. CONTRIBUTING.md has a new section on how to send a change:
the "Report a problem" form on each trail's page, editing a record in
a fork, and the checks every pull request gets.

The route table's column and the schema heading say "track policy",
as the site does; the field is still `line_policy`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 13:17:20 -07:00
swaitsandClaude Fable 5.2 eb444ff0e6 Say "track" on the site for a trail's geometry
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>
2026-11-13 12:43:49 -07:00
swaitsandClaude Fable 5.2 abfbeb00bd Add the Long Hikes static site (longhikes.org)
Validate / validate (push) Canceled after 0s
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>
2026-11-13 12:20:32 -07:00