Ob der Nobreakspace offen ist siehst du hier

Oder aktiviere Javascript

{%- capture nowunix %}{{'now' | date: '%s'}}{% endcapture -%} {%- assign show_event = 2 -%} {%- 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 and show_event > 1 -%} {%- if e.nofrontpage == nil or e.nofrontpage == '' -%}
🗓 {%- assign show_event = 0 - %}

{{ e.eventdate | date: "%d.%m.%Y %H:%M" }}: {{e.title}}

{%- endif -%} {%- endif -%} {% endfor -%} {%- assign show_m = 2 -%} {%- for m in site.maintenance -%} {%- capture m_start_plus %}{{m.eventdate | date: '%s' | minus: 172800 }}{%- endcapture -%} {%- capture m_start %}{{m.eventdate | date: '%s' }}{%- endcapture -%} {%- if m_start_plus < nowunix and m_start > nowunix and show_m > 1 -%}
🔧 {%- assign show_m = 0 -%}

{{ m.eventdate | date: "%d.%m.%Y %H:%M" }}: {{m.title}} ({% assign components = site.inventory | where_exp: "inv", "m.components contains inv.uid" -%}{% for component in components -%} {% if m.components contains component.uid -%}{{component.name}}{% unless forloop.last %}, {% endunless %}{% endif -%}{% endfor -%})

{% endif -%} {% endfor -%}