{{- /* Event cards from data/events.yaml, after the cards on the 40C3 start page (events.ccc.de/congress/2026/infos/startpage.html): the event's name and logo (assets/img/events/.svg) in a heading bar, its motto, full name, dates and venue below. Cards link to the event's section; an event that is in progress, or has no section, gets a greyed-out card without a link. Logo credits from the data file are in the footer (footer.html). Usage: {{< events >}} */ -}} {{- $events := slice -}} {{- with hugo.Data.events }}{{ with .events }}{{ $events = . }}{{ end }}{{ end -}} {{- if not $events -}} {{- warnidf "warning-events-empty" "events: no events in data/events.yaml: %s" .Position -}} {{- else -}} {{- end }}