diff --git a/_includes/space-status-mobile.html b/_includes/space-status-mobile.html index 8c0fe6bd18aa92e1284cb48d4daf5977e3eaf4ac..4d893ec568632219002f160a93ce2ebc7bb632e6 100644 --- a/_includes/space-status-mobile.html +++ b/_includes/space-status-mobile.html @@ -7,7 +7,7 @@ {%- for e in site.events -%} {%- capture event_start_plus %}{{e.eventdate | date: '%s' | minus: 259200 }}{%- endcapture -%} {%- capture event_start %}{{e.eventdate | date: '%s' }}{%- endcapture -%} - {%- if event_start_plus < nowunix and event_start > nowunix -%} + {%- if event_start_plus < nowunix and event_start > nowunix and show_event > 1 -%} <b>Demnächst:</b> {%- assign show_event = 0 - %}<p id="nextevent_mobile"> {{ e.eventdate | date: "%d.%m.%Y %H:%M" }}: {{e.title}}</p> {%- endif -%}