From 345ed627844ca2fa3a99d32fd18eaa106e6ad239 Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Wed, 11 Mar 2026 08:05:35 +0100 Subject: [PATCH] feat: unify check-in rendering in /been with /where, consistent design for all entries --- been.njk | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/been.njk b/been.njk index 24ac657..6f334db 100644 --- a/been.njk +++ b/been.njk @@ -19,7 +19,85 @@ withSidebar: true
{% for checkin in checkins | slice(1) %}
- {# ...existing checkin rendering code from where.njk... #} +
+
+ +
+ +
+

+ {{ checkin.name }} +

+ + {% if checkin.locationText or checkin.postalCode %} +

+ {{ checkin.locationText }}{% if checkin.locationText and checkin.postalCode %}, {% endif %}{{ checkin.postalCode }} +

+ {% endif %} + +
+ {% if checkin.published %} + + {% endif %} + {% if checkin.coordinatesText %} + {{ checkin.coordinatesText }} + {% endif %} + {% if checkin.isPrivate %} + Private + {% endif %} + {% if checkin.checkedInBy and (checkin.checkedInBy.name or checkin.checkedInBy.url) %} + + Checked in by {% if checkin.checkedInBy.url %}{{ checkin.checkedInBy.name or checkin.checkedInBy.url }}{% else %}{{ checkin.checkedInBy.name }}{% endif %} + + {% endif %} +
+ + {% if checkin.tags and checkin.tags.length %} +
+ {% for tag in checkin.tags | head(8) %} + #{{ tag }} + {% endfor %} +
+ {% endif %} + + {% if checkin.taggedPeople and checkin.taggedPeople.length %} +
+ {% for person in checkin.taggedPeople | head(6) %} + {% if person.url %} + {{ person.name or person.url }} + {% else %} + {{ person.name }} + {% endif %} + {% endfor %} +
+ {% endif %} + +
+ {% if checkin.mapUrl %} + Map + {% endif %} + {% if checkin.venueWebsiteUrl %} + Website + {% endif %} + {% if checkin.venueSocialUrl %} + Social + {% endif %} +
+ + {% if checkin.photos and checkin.photos.length %} +
+ {% for photo in checkin.photos | head(3) %} + + Check-in photo + + {% endfor %} +
+ {% endif %} +
+
{% endfor %}