docs: document trip_header_extras param on trip-feed-col shared partial
Code review flagged the shared partial's CLAUDE.md contract table as stale: trip-feed-col.html.twig gained a trip_header_extras flag (set at :254, wired from trip.html.twig) but the parameter table the trip/home callers rely on to stay in sync had no row for it. Add the row + a note on what it gates and why home omits it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RDS6t8wcpbwKvvrxykVQ5K
This commit is contained in:
@@ -92,6 +92,9 @@ The home page's active-trip view and the trip page render the **same feed-col ch
|
||||
| `gpx_urls` | array | `gpx_urls` | `home_gpx_urls` |
|
||||
| `gps_points` | array | `gps_points` | `gps_points` |
|
||||
| `show_sort` | bool | `true` | `false` (home keeps its own feed order, no sort button) |
|
||||
| `trip_header_extras` | bool | `true` | not passed (defaults `false`) |
|
||||
|
||||
`trip_header_extras` gates the trip-page-only header block (one-liner `.home-trip-tagline`, expandable `.trip-header-desc`, and `.trip-header-banner` cover strip) that renders between the counts and the filter bar. `trip.html.twig` passes `true`; `home.html.twig` omits it so those extras never leak onto the home route (the `only` include keeps it off by default).
|
||||
|
||||
`home-predeparture` takes only `trip_page`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user