-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathindex.njk
More file actions
26 lines (17 loc) · 769 Bytes
/
index.njk
File metadata and controls
26 lines (17 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---js
---
{%- css %}{% include "public/css/message-box.css" %}{% endcss %}
<div class="message-box">
<h2>{{ collections.estates.length }} LONDON HOUSING ESTATES ARE FACING DEMOLITION !</h2> We show where they are and why refurbishment is almost always a better option:
</div>
<!------------THE CODE BELOW RENDERS THE MAP - DO NOT EDIT! ---------------------------->
<div id="map" style="width: 100%; height: 400px;"></div>
<script>
var map = L.map('map').setView([51.505, -0.09], 10);
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(map);
</script>
{% set estateslist = collections.estates %}
{% include "estateslist.njk" %}