Skip to content
Snippets Groups Projects
Commit 8e20e4eb authored by Lukas Ruge's avatar Lukas Ruge
Browse files

preview nicer

parent 2af2e3d2
No related branches found
No related tags found
No related merge requests found
Pipeline #8958 passed
......@@ -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 -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment