From 406e49da9b1ad7bb41d9117b5cebed83758f8fb7 Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Wed, 11 Mar 2026 07:42:28 +0100 Subject: [PATCH] feat: move /where override to base, add /been for past check-ins, remove upstream theme/where.njk --- _includes/layouts/been.njk | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 _includes/layouts/been.njk diff --git a/_includes/layouts/been.njk b/_includes/layouts/been.njk new file mode 100644 index 0000000..65ccbf8 --- /dev/null +++ b/_includes/layouts/been.njk @@ -0,0 +1,29 @@ +--- +layout: layouts/base.njk +title: Been +permalink: /been/ +withSidebar: true +--- +{% set checkins = whereCheckins.checkins or [] %} + +
+
+

Been

+

+ All past check-ins captured by this site via Micropub. +

+
+ + {% if checkins.length > 1 %} +
+ {% set pastCheckins = checkins | slice(1) | reverse %} + {% for checkin in pastCheckins %} +
+ ...existing checkin rendering code from where.njk... +
+ {% endfor %} +
+ {% else %} +

No past check-ins found.

+ {% endif %} +