{{- $ := index . "$" -}}
{{- $description := .description -}}
{{- $dates := partial "utils/date.html" $ -}}
{{- $images := partial "utils/images.html" $ -}}
{{- if and $.Site.IsMultiLingual $.IsTranslated -}}
{{- range $.Site.Languages -}}
{{ if ne .Lang $.Site.Language.Lang }}
{{ end }}
{{- end -}}
{{- end -}}
{{- with $images -}}
{{ else -}}
{{ with $.Site.Params.siteLogo -}}
{{ end -}}
{{- end -}}
{{- if and $.IsPage (in $.Site.Params.mainSections $.Section) -}}
{{ if not $.ExpiryDate.IsZero -}}
{{- end }}
{{ else -}}
{{- end }}