diff options
-rw-r--r-- | fietsboek/templates/layout.jinja2 | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fietsboek/templates/layout.jinja2 b/fietsboek/templates/layout.jinja2 index bf30143..64fc8c1 100644 --- a/fietsboek/templates/layout.jinja2 +++ b/fietsboek/templates/layout.jinja2 @@ -23,14 +23,6 @@ const FRIENDS_URL = {{ request.route_url('json-friends') | tojson }}; const TILE_LAYERS = {{ embed_tile_layers(request) }}; const BASE_URL = {{ request.route_url('home') | tojson }}; const LOCALE = {{ request.localizer.locale_name.replace('_', '-') | tojson }}; -{% if request.registry.settings.get("thunderforest.api_key") %} -{% set api_key = request.registry.settings.get("thunderforest.api_key") %} -window.JB = window.JB || {}; -window.JB.GPX2GM = window.JB.GPX2GM || {}; -window.JB.GPX2GM.OSM_Cycle_Api_Key = {{ api_key | tojson }}; -window.JB.GPX2GM.OSM_Landscape_Api_Key = {{ api_key | tojson}}; -window.JB.GPX2GM.OSM_Outdoors_Api_Key = {{ api_key | tojson }}; -{% endif %} </script> </head> |