summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorDennis Fink2026-07-23 00:18:21 +0200
committerDennis Fink2026-07-23 00:18:21 +0200
commit1fe1d13c600b7dfe421b3b99b833b7d5d1232724 (patch)
tree2e8636160cc1719c907be56f5ef8cbc7e0f10a53 /models
parentca77de06be474dfd712402c327dc436864d233a3 (diff)
downloaddennisfink.me-1fe1d13c600b7dfe421b3b99b833b7d5d1232724.tar.gz
dennisfink.me-1fe1d13c600b7dfe421b3b99b833b7d5d1232724.zip
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.
Diffstat (limited to 'models')
-rw-r--r--models/blog-post.ini6
1 files changed, 3 insertions, 3 deletions
diff --git a/models/blog-post.ini b/models/blog-post.ini
index dec758a..39b5cb3 100644
--- a/models/blog-post.ini
+++ b/models/blog-post.ini
@@ -43,6 +43,6 @@ width = 1/2
[fields.body]
label = Body
-type = markdown
-
-
+type = flow
+flow_blocks = markdown, trail
+description = Build the post from Markdown sections and optional trail maps.