From 1fe1d13c600b7dfe421b3b99b833b7d5d1232724 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Thu, 23 Jul 2026 00:18:21 +0200 Subject: Add GPX trail maps to blog posts This adds a trail flow block so posts can include attached GPX files as interactive maps with route display, elevation charts, activity summaries, and start/finish markers. The trail assets are loaded only when needed, keeping the shared templates clean while vendoring the Leaflet dependencies required for offline, self-hosted map rendering. --- assets/static/vendor/leaflet-elevation/libs/fullpage.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 assets/static/vendor/leaflet-elevation/libs/fullpage.css (limited to 'assets/static/vendor/leaflet-elevation/libs/fullpage.css') diff --git a/assets/static/vendor/leaflet-elevation/libs/fullpage.css b/assets/static/vendor/leaflet-elevation/libs/fullpage.css new file mode 100644 index 0000000..c2b8539 --- /dev/null +++ b/assets/static/vendor/leaflet-elevation/libs/fullpage.css @@ -0,0 +1,13 @@ +html, +body, +.leaflet-map { + height: 100%; + width: 100%; + padding: 0px; + margin: 0px; +} + +body { + display: flex; + flex-direction: column; +} -- cgit v1.3.1