docs: sync CLAUDE.md + reference/guides with standalone-page cleanup
- Replace 'Shared feed-map partial' section with 'entry-map' partial + the single MapUtils.initEntryMap map path - Trip architecture: two content subfolders (dailies/stories as inert routable:false containers); map/stats inline on trip page - Fix stale references to deleted map/stats/dailies/stories templates in architecture.md (template list, page tree, GPX flow) and trip-switching.md (scaffold + verify steps) - Correct GPX rendering: toGeoJSON bundled in map.js, no leaflet CDN - Pre-launch smoke test now checks the trip page feed, not /dailies Left docs/working/* (milestones, learnings, QA, plans) as point-in-time history. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -42,23 +42,21 @@ pageconfig:
|
||||
|
||||
## Step 3 — Create the new trip page tree
|
||||
|
||||
Create the standard four subfolders under `user/pages/01.trips/<new-slug>/`:
|
||||
Create the two content subfolders under `user/pages/01.trips/<new-slug>/`:
|
||||
|
||||
```
|
||||
user/pages/01.trips/japan-korea-2026/
|
||||
├─ trip.md ← title, date_start, date_end, cover_image, album_url
|
||||
├─ 01.dailies/
|
||||
│ └─ dailies.md ← template: dailies (list page)
|
||||
├─ 02.map/
|
||||
│ └─ map.md ← template: map
|
||||
├─ 03.stats/
|
||||
│ └─ stats.md ← template: stats
|
||||
│ └─ dailies.md ← inert container: template: default, routable: false, visible: false
|
||||
└─ 04.stories/
|
||||
└─ stories.md ← template: stories
|
||||
└─ stories.md ← inert container: template: default, routable: false, visible: false
|
||||
```
|
||||
|
||||
Copy these files from an existing trip and update the frontmatter (especially `title` and `date_start` in `trip.md`).
|
||||
|
||||
> The `02.map/` and `03.stats/` standalone views were retired (2026-07-04) — the map and stats render inline on the trip page. The `01.dailies/` and `04.stories/` folders now exist only as data containers holding the entry/story children; their own routes are non-routable.
|
||||
|
||||
Fields in `trip.md` to update:
|
||||
|
||||
| Field | Example | Notes |
|
||||
@@ -85,5 +83,5 @@ This commits and pushes the `user/` repo to Gitea. The webhook triggers a produc
|
||||
|
||||
After pushing, check:
|
||||
1. Home page shows the new trip (title and date)
|
||||
2. Submit a test entry via `/post` — verify it lands under `user/pages/01.trips/<new-slug>/01.dailies/`
|
||||
3. Map at `/trips/<new-slug>/map` shows the correct (empty or GPX-only) state
|
||||
2. Submit a test entry via `/post` — verify it lands under `user/pages/01.trips/<new-slug>/01.dailies/` and appears in the feed at `/trips/<new-slug>`
|
||||
3. The inline map on `/trips/<new-slug>` shows the correct (empty or GPX-only) state
|
||||
|
||||
Reference in New Issue
Block a user