{% extends 'global.html'%}

{% load static %}
{% load i18n %}
{% load lostplaces %}
{% block additional_head %}
<link rel="stylesheet" href="{% static 'maps/ol.css' %}" type="text/css">
<script src="{% static 'maps/ol.js' %}"></script>
{% endblock additional_head %}

# {% block title %}{% translate 'Home' %}{% endblock %}

{% block maincontent %}

{% partial 'welcome' %}
<article class="LP-TextSection">
</article>
{% partial 'osm_map' %}
	{% set config mapping_config %}
	{% set modifier 'wide' %}
{% endpartial %}
<div class="LP-PlaceGrid">
    <h1 class="LP-Headline LP-Headline">{% translate 'Explore the latest places' %}</h1>
    <ul class="LP-PlaceGrid__Grid">
        {% for place in place_list %}
        <li class="LP-PlaceGrid__Item">
            {% include 'partials/place_teaser.html' with place=place%}
        </li>
        {% endfor %}
    </ul>
</div>
{% endblock maincontent %}