docs: fix all internal cross-references after restructure

This commit is contained in:
2026-06-21 12:48:04 +02:00
parent 93aa6d9b42
commit 65597de00d
29 changed files with 4738 additions and 85 deletions
@@ -29,7 +29,7 @@ The existing 4-stat grid expands to 6 stats. Both `stats.html.twig` and the inli
| Stat | Label | Source | Notes |
|---|---|---|---|
| Days on the road | `days on the road` | `(now - first entry date) / 86400` | Unchanged |
| Days on the road | `days on the road` | `date_end - date_start` if trip `date_end` is set; else `now - first entry date` | Fixed for past trips |
| Entries posted | `entries posted` | `all_entries\|length` | Unchanged |
| Countries visited | `countries visited` | Deduplicated `location_country` | Unchanged; country list shown below grid |
| **Cities visited** | `cities visited` | Deduplicated `location_city` | New; same dedup logic as countries |
@@ -82,19 +82,10 @@ Max speed is explicitly excluded — GPS noise at 1-second resolution produces u
### Icon system
The GPX `<type>` tag on the track element drives the icon shown in both the main stats distance block and the cycling panel header:
A single static racing/gravel bike icon is used whenever GPX files are present — both in the main stats distance block and the cycling panel header. No dynamic switching based on `<type>`.
| `<type>` value | Icon |
|---|---|
| `racebike` | Road bike |
| `touringbicycle` | Touring bike |
| `mtb` | Mountain bike |
| `cycling` (generic) | Generic bike |
| `hiking` | Hiking boot |
| `hike` | Hiking boot |
| Any unrecognised value | Generic bike (fallback) |
When multiple GPX files exist with different types, use the type from the first file. This is an acceptable heuristic for now.
Known Komoot `<type>` values for reference (future use if icon switching is ever added):
`racebike`, `touringbicycle`, `mtb`, `cycling`, `hiking`, `hike`
---