diff --git a/events.ics b/events.ics
index 6aa931d98b40eb761c934c7a2d5048533ed84c46..60cb7ba42ce7f50d03e7a32887ed4fffa1042f8c 100644
--- a/events.ics
+++ b/events.ics
@@ -29,7 +29,7 @@ END:VTIMEZONE
 PRODID:https://chaotikum.org/
 METHOD:PUBLISH
 {% for event in site.events %}
-{%- if e.nofrontpage == nil or e.nofrontpage == '' -%}
+{%- if event.nofrontpage == nil or event.nofrontpage == '' -%}
 BEGIN:VEVENT
 UID:{{ event.uid }}
 ORGANIZER;CN={% if event.organizer and event.organizer != "" and event.organizer != nil %}{{event.organizer}}{% else %}Chaotikum e.V.{% endif %}:MAILTO:{{event.contact}}