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

29 lines
892 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 %}
2021-04-06 19:14:36 +02:00
{% load lostplaces %}
{% 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 %}
2022-09-17 21:22:51 +02:00
{% include 'partials/welcome.html' %}
<article class="LP-TextSection">
</article>
2022-09-17 21:22:51 +02:00
{% 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 %}