{{- /* Overrides the zen theme's footer.html. Same as the theme's, plus the 40C3 logo and, on pages with event cards, the credits for event logos whose licence asks for one (credit in data/events.yaml). */ -}} {{ if $.Param "feedlinks" }}{{ partial "feedlinks.html" . }}{{ end -}}
{{ with site.Copyright }}{{ . | site.Home.RenderString }}{{ else }}© {{ site.Title }}{{ end }}
{{- if .HasShortcode "events" }} {{- $credits := slice }} {{- with hugo.Data.events }}{{ range .events }}{{ if .credit }}{{ $credits = $credits | append (dict "name" (.name | default (upper .event)) "credit" .credit) }}{{ end }}{{ end }}{{ end }} {{- with $credits }}{{ range $index, $entry := . }}{{ if $index }} · {{ end }}{{ i18n "events_logo" (dict "Name" $entry.name) }}: {{ $entry.credit | site.Home.RenderString }}{{ end }}
{{- end }} {{- end }} {{ with $.Param "footer" }}{{ . | site.Home.RenderString }}
{{ end }} {{ if $.Param "poweredby" }}{{ end }}