---
layout: event_base
---

{% assign event = site.data.events[page.event_id] %}

{% comment %}
  Sort out whether the event is past or future relative to now.
  Assumes that site is rebuilt with CDN cache reset,
  and that rebuilds will be triggered around event start and end dates.
{% endcomment %}
{% assign now_unix = 'now' | date: '%s' %}
{% assign event_start_unix = event.time.from.date | date: '%s' %}
{% assign event_finish_unix = event.time.to.date | date: '%s' %}

{% if now_unix > event_start_unix %