Give every page of trails one layout, with the map beside the rows, and set no tables
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>
This commit is contained in:
1 parent
59f912c47c
commit
298f1b9fd9
28 files changed
+843
-541
No files matched your search
+2
-5
@@ -52,9 +52,6 @@ class List:
|
||||
# (list's trails, all trails) -> a plain sentence or two that says what the list covers
|
||||
# where that is not every trail: how many have the fact the list is built on.
|
||||
note: Optional[Callable] = None
|
||||
# The page opens with a table of key figures for its trails (olt/standing.py): for a short
|
||||
# list of named standing, where a reader compares the trails.
|
||||
table: bool = False
|
||||
# A larger least size than MIN_SIZE, where the list is thin by nature (a month's list).
|
||||
min_size: int = 0
|
||||
|
||||
@@ -154,11 +151,11 @@ HALF_MI = 500
|
||||
LISTS = (
|
||||
List("national-scenic-trails", "National Scenic Trails",
|
||||
"The long trails the United States Congress has named National Scenic Trails.",
|
||||
facets.is_national, page_title="National Scenic Trails: {n} Long Hiking Trails", group="standing", table=True),
|
||||
facets.is_national, page_title="National Scenic Trails: {n} Long Hiking Trails", group="standing"),
|
||||
List("national-recreation-trails", "National Recreation Trails",
|
||||
"Trails whose designation says they are National Recreation Trails.",
|
||||
_designation(r"National Recreation Trail"),
|
||||
page_title="National Recreation Trails: {n} Long Hiking Trails", group="standing", table=True),
|
||||
page_title="National Recreation Trails: {n} Long Hiking Trails", group="standing"),
|
||||
List("routes", "Routes", facets.ROUTE_DEFINITION,
|
||||
lambda r: facets.kind(r) == "route", page_title="Long Hiking Routes by Author: {n} Routes",
|
||||
group="standing", noun="Long Hiking Routes"),
|
||||
|
||||
Reference in new issue
Block a user