01.02.24 --- Updated to Kirby 4
- add 3 new stories to test the line editor
- add images
- add embeds (markdown block)
UPDATE: Transports are now managed from the tab "Transports" in the "Site" section of the panel.
In mapbox-utils-ap.js the function kirbyTransportToDashArray(kirbyTransport) turns transport type to line type, and then to dash-array.
| transport | line name |
|---|---|
| plane | air |
| boat | sea |
| bus | ground |
| car | ground |
| truck | ground |
| train | ground |
| taxi | ground |
| walk | walk |
| * | other |
Line types:
- walk: Dots
- sea: Long Dashes
- ground = air = other: Solid line
After updates online, the new legs didn't show up. I found that the content file had, for the old entries, 2 additional fields that are no longer present (durationday and id). Removing them seems fixing the issue. Still investigating how they got there.
- Go to https://datawrapper.de/
- Login > Dashboard > Archive
- Left panel shows under Moving Lines: Grafici & Mappe
To embed
- Open the story in the panel > Find field
Content blocks - Prepare a
Markdownblock wrapped in aBlocks wrapperblock (for margins) - Copy the embed code named
Responsive iframefrom Datawrapper and paste it here
Silvia Costantini's profile