From 3caada8f085c7e77ee81639ebdb5ce91c3073b6b Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Thu, 20 Aug 2020 23:07:52 +0200 Subject: [PATCH] Moved additional headers to parent template. --- lostplaces/lostplaces_app/templates/home.html | 4 ++++ lostplaces/lostplaces_app/templates/partials/osm_map.html | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lostplaces/lostplaces_app/templates/home.html b/lostplaces/lostplaces_app/templates/home.html index e145649..7013038 100644 --- a/lostplaces/lostplaces_app/templates/home.html +++ b/lostplaces/lostplaces_app/templates/home.html @@ -1,5 +1,9 @@ {% extends 'global.html'%} {% load static %} +{% block additional_head %} + + +{% endblock additional_head %} # {% block title %}Start{% endblock %} diff --git a/lostplaces/lostplaces_app/templates/partials/osm_map.html b/lostplaces/lostplaces_app/templates/partials/osm_map.html index 2bedda1..d925f87 100644 --- a/lostplaces/lostplaces_app/templates/partials/osm_map.html +++ b/lostplaces/lostplaces_app/templates/partials/osm_map.html @@ -1,12 +1,7 @@ {% load static %} -{% block additional_head %} - -{% endblock additional_head %} -
-