{{ $img := .Resources.GetMatch .Params.cover }} {{ if not $img }} {{ $img = resources.Get "images/placeholder-potrait.png" }} {{ end }} {{ with $img }} {{ $sizedImage := $img.Fit "372x496" }} {{ end }}

{{ .Params.Title }}

Verein: {{ .Params.club }}
{{ if .Params.history }} {{- $sortedHistory := sort .Params.history "date" "asc" }} {{ range $sortedHistory }} {{ end }}
{{ end }}