diff --git a/_templates/events.html b/_templates/events.html index d49a5e1b..f55a73c3 100644 --- a/_templates/events.html +++ b/_templates/events.html @@ -22,11 +22,11 @@ L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { }).addTo(map); var markers = new L.MarkerClusterGroup({showCoverageOnHover: false, maxClusterRadius: 40}); -{% filter_for p in site.conferences sort_by:date %}{% if p.geoloc != 'false' %} +{% filter_for p in site.conferences sort_by:date %}{% if p.geoloc %} L.marker([{{ p.geoloc }}]).bindPopup('{{ p.title | htmlescape }}
{{ p.date }}
{{ p.venue | htmlescape }}
{{ p.address | htmlescape }}
{{ p.city | htmlescape }}, {{ p.country | htmlescape }}').addTo(markers); {% endif %}{% endfilter_for %} -{% filter_for p in site.meetups sort_by:date %}{% if p.geoloc != 'false' %} +{% filter_for p in site.meetups sort_by:date %}{% if p.geoloc %} L.marker([{{ p.geoloc }}]).bindPopup('{{ p.title | htmlescape }}
{{ p.date }}
{{ p.venue | htmlescape }}
{{ p.address | htmlescape }}
{{ p.city | htmlescape }}, {{ p.country | htmlescape }}').addTo(markers); {% endif %}{% endfilter_for %}