--- layout: layouts/been.njk title: Where permalink: /where/ description: AMy past check-ins. withSidebar: true leafletMap: true --- {% set checkins = whereCheckins.checkins or [] %}

Where

My past check-ins.

{% if checkins.length %} {% set newest = checkins[0] %}

I'm currently in {% if newest.venueWebsiteUrl %}{{ newest.name }}{% else %}{{ newest.name }}{% endif %}{% if newest.locality %}, {{ newest.locality }}{% elif newest.locationText %}, {{ newest.locationText }}{% endif %}

{% endif %} {% set mapPoints = [] %} {% set homeSeenNames = [] %} {% for c in checkins %} {% if c.latitude and c.longitude %} {% if "Murnau" in (c.locality or "") or "Garmisch" in (c.locality or "") %} {% if c.name not in homeSeenNames %} {% set mapPoints = (mapPoints.push({name: c.name, lat: c.latitude, lng: c.longitude, url: c.venueWebsiteUrl}), mapPoints) %} {% set homeSeenNames = (homeSeenNames.push(c.name), homeSeenNames) %} {% endif %} {% else %} {% set mapPoints = (mapPoints.push({name: c.name, lat: c.latitude, lng: c.longitude, url: c.venueWebsiteUrl}), mapPoints) %} {% endif %} {% endif %} {% endfor %} {% if mapPoints.length %}
{% endif %} {% if checkins.length %}

Been

{% set grouped = checkins | groupby("name") %} {% else %}

No past check-ins found.

{% endif %}