lostplaces-backend/django_lostplaces/lostplaces/templates/home.html

30 lines
872 B
HTML
Raw Normal View History

2020-08-03 19:14:13 +02:00
{% extends 'global.html'%}
2020-08-03 19:14:13 +02:00
{% load static %}
2020-10-01 22:58:06 +02:00
{% load i18n %}
{% block additional_head %}
2020-09-12 11:47:42 +02:00
<link rel="stylesheet" href="{% static 'maps/ol.css' %}" type="text/css">
<script src="{% static 'maps/ol.js' %}"></script>
{% endblock additional_head %}
2020-08-03 19:14:13 +02:00
# {% block title %}{% translate 'Home' %}{% endblock %}
2020-08-03 19:14:13 +02:00
{% block maincontent %}
{% include 'partials/welcome.html' %}
<article class="LP-TextSection">
</article>
{% include 'partials/osm_map.html' with config=mapping_config modifier='wide' %}
2020-08-03 19:14:13 +02:00
<div class="LP-PlaceGrid">
<h1 class="LP-Headline LP-Headline">{% translate 'Explore the latest places' %}</h1>
2020-08-03 19:14:13 +02:00
<ul class="LP-PlaceGrid__Grid">
{% for place in place_list %}
2020-08-03 19:14:13 +02:00
<li class="LP-PlaceGrid__Item">
2020-12-24 16:43:01 +01:00
{% include 'partials/place_teaser.html' with place=place%}
</li>
{% endfor %}
2020-08-03 19:14:13 +02:00
</ul>
</div>
{% endblock maincontent %}