summaryrefslogtreecommitdiff
path: root/web/templates.templ
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-08-16 10:44:21 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-08-16 10:44:21 +0200
commit9dd4a9ac8f359f8d25b1c89fccc9e098f7b124ca (patch)
tree211b11d0d1c78d0dcdf57bca84861f4a6126ac63 /web/templates.templ
parent0c3507139795c3117bcdf82ca4b444e934bd3c74 (diff)
refactor(web): split official climb profile script
Diffstat (limited to 'web/templates.templ')
-rw-r--r--web/templates.templ1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/templates.templ b/web/templates.templ
index c640171..9f57696 100644
--- a/web/templates.templ
+++ b/web/templates.templ
@@ -171,6 +171,7 @@ templ RideDetailContent(data RideDetailView) {
@templ.JSONScript("ride-route", data.Route)
@templ.JSONScript("ride-profile", data.Profile)
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" defer></script>
+ <script src="/static/official-climb-profile.js" defer></script>
<script src="/static/ride-detail.js" defer></script>
}
}