From a0497687063030fd9056ae3d5046e1b425a47325 Mon Sep 17 00:00:00 2001 From: tvluke <tvluke@chaotikum.org> Date: Mon, 29 May 2023 22:53:09 +0200 Subject: [PATCH] more next event sruff --- _includes/space-status-mobile.html | 1 + _includes/space-status.html | 1 + 2 files changed, 2 insertions(+) diff --git a/_includes/space-status-mobile.html b/_includes/space-status-mobile.html index 3942e1ff..efcd9ce5 100644 --- a/_includes/space-status-mobile.html +++ b/_includes/space-status-mobile.html @@ -3,6 +3,7 @@ </div> <div id="event_soon_mobile" style="margin-top: 5px;"> {% capture nowunix %}{{'now' | date: '%s'}}{% endcapture -%} +<b>Demnächst:</b> {% for e in site.events -%} {% capture event_start_plus %}{{e.eventdate | date: '%s' | minus: 86400 }}{% endcapture -%} {% capture event_start %}{{e.eventdate | date: '%s' }}{% endcapture -%} diff --git a/_includes/space-status.html b/_includes/space-status.html index fff7c79e..bbd3c107 100644 --- a/_includes/space-status.html +++ b/_includes/space-status.html @@ -1,5 +1,6 @@ <div id="event_soon" style="margin-top: 5px;"> {% capture nowunix %}{{'now' | date: '%s'}}{% endcapture -%} +<b>Demnächst:</b> {% for e in site.events -%} {% capture event_start_plus %}{{e.eventdate | date: '%s' | minus: 86400 }}{% endcapture -%} {% capture event_start %}{{e.eventdate | date: '%s' }}{% endcapture -%} -- GitLab