From e242dc4add377d2cd3dcc34b98e1f1046acbd4a6 Mon Sep 17 00:00:00 2001 From: reverend Date: Fri, 25 Dec 2020 13:29:18 +0100 Subject: [PATCH] Partial takes parameter to change size of map --- django_lostplaces/lostplaces/templates/home.html | 2 +- django_lostplaces/lostplaces/templates/partials/osm_map.html | 2 +- django_lostplaces/lostplaces/templates/place/place_detail.html | 2 +- django_lostplaces/lostplaces/templates/place/place_list.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/django_lostplaces/lostplaces/templates/home.html b/django_lostplaces/lostplaces/templates/home.html index db7168b..1ad244b 100644 --- a/django_lostplaces/lostplaces/templates/home.html +++ b/django_lostplaces/lostplaces/templates/home.html @@ -15,7 +15,7 @@
-{% include 'partials/osm_map.html' with config=mapping_config %} +{% include 'partials/osm_map.html' with config=mapping_config modifier='wide' %}

{% trans 'Explore the latest places' %}