{{ $image := partial "func/GetNamedImage.html" (dict "context" . "name" "featured_image") }} {{ $image_link := ""}} {{ with $image }} {{ $image_link = $image.Permalink }} {{ end }}
{{ if .Date }}
{{- .Params.Sports -}}
{{- .Params.Location -}}, {{ partial "formatted-date.html" . }}
{{ end }}
{{ if $image_link }} {{ end }}

{{ .Title }}