diff --git a/django_lostplaces/lostplaces/templates/global.html b/django_lostplaces/lostplaces/templates/global.html index 9363682..280c504 100644 --- a/django_lostplaces/lostplaces/templates/global.html +++ b/django_lostplaces/lostplaces/templates/global.html @@ -89,7 +89,7 @@ {% block footer %} - {% partial 'nav/footer' %} + {% include 'partials/nav/footer.html' %} {% endblock footer %} diff --git a/django_lostplaces/lostplaces/templates/home.html b/django_lostplaces/lostplaces/templates/home.html index a09bc7b..dc8803b 100644 --- a/django_lostplaces/lostplaces/templates/home.html +++ b/django_lostplaces/lostplaces/templates/home.html @@ -12,13 +12,10 @@ {% block maincontent %} -{% partial 'welcome' %} +{% include 'partials/welcome.html' %}
-{% partial 'osm_map' %} - {% set config mapping_config %} - {% set modifier 'wide' %} -{% endpartial %} +{% include 'partials/osm_map.html' with config=mapping_config modifier='wide' %}

{% translate 'Explore the latest places' %}