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. --- templates/.djlintrc | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'templates/.djlintrc') diff --git a/templates/.djlintrc b/templates/.djlintrc index 5882faa..75269c1 100644 --- a/templates/.djlintrc +++ b/templates/.djlintrc @@ -1,14 +1,16 @@ { -"blank_line_before_tag": "macro", -"blank_line_after_tag": "endmacro,extends,import,from", -"profile": "jinja", -"format_css": true, -"css": { -"indent_size": 2 -}, -"format_js": true, -"js": { -"indent_size": 2 -}, -"indent": "2" + "blank_line_before_tag": "macro", + "blank_line_after_tag": "endmacro,extends,import,from", + "profile": "jinja", + "format_css": true, + "css": { + "indent_size": 2 + }, + "format_js": true, + "js": { + "indent_size": 2 + }, + "indent": "2", + "max_blank_lines": 0, + "preserve_blank_lines": true } -- cgit v1.3.1