{{ define "main" }}

{{ .Title }}

{{ with .Content }}
{{ . }}
{{ end }}
{{ with .Params.groupImage }}
{{ partial "img.html" (dict "src" . "alt" "Gruppenfoto von Deepwater Survival im Backstage-Flur" "sizes" "100vw" "widths" (slice 800 1400 2000)) }}
{{ end }} {{ with .Params.crew }} {{ $photo := "" }}{{ with .image }}{{ $photo = resources.Get (strings.TrimPrefix "/" .) }}{{ end }}

{{ .heading }}

{{ if $photo }} {{ partial "img.html" (dict "res" $photo "alt" (printf "Porträt von %s" .name) "sizes" "(min-width: 900px) 20rem, 60vw" "widths" (slice 400 800)) }} {{ else }} {{ end }}

{{ .name }}

{{ .role }}

{{ with .text }}

{{ . }}

{{ end }} @{{ site.Params.photographer.handle }} auf Instagram
{{ end }} {{ end }}