summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/app.html.ep4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep
index bba3c32..2a596c0 100644
--- a/templates/layouts/app.html.ep
+++ b/templates/layouts/app.html.ep
@@ -28,6 +28,10 @@
% if (stash('with_geolocation')) {
%= javascript "/static/${av}/js/geolocation.min.js", defer => undef
% }
+ % if (stash('with_map')) {
+ %= stylesheet "/static/${av}/leaflet/leaflet.css"
+ %= javascript "/static/${av}/leaflet/leaflet.js"
+ % }
</head>
<body style="<%= (param('dark') ? 'background-color: #000000; color: #ffffff;' : q{}) %>">