{{- $r := "" -}} {{- $tba := .Params.tba -}} {{- with .Params.poster }}{{ if not $tba }}{{ $r = resources.Get (strings.TrimPrefix "/" .) }}{{ end }}{{ end -}} {{- $title := .Title | default "Neue Show" -}}
{{- if $tba }} {{- else if $r }} {{ partial "img.html" (dict "src" .Params.poster "alt" (printf "Plakat: %s" $title) "sizes" "(min-width: 900px) 280px, 45vw" "widths" (slice 320 640)) }} {{- else }} {{- end }}

{{ $title }}

{{ with .Params.location }}

{{ . }}

{{ else }}{{ if $tba }}

Ort folgt

{{ end }}{{ end }}