{% comment %} If registration variables are set in event front matter, badges and texts are displayed on event details page and event overview page showing the registration status of the event. {% endcomment %} {% comment %} In case no registration data is given, do not display any registration information. There might still be registration information in the free text of the event. {% endcomment %} {% unless include.event.registration_period.from == nil and include.event.registration_period.to == nil and include.event.fully_booked_out == nil and include.event.registration_link == nil and include.event.waiting_list_link == nil %}