{{- .Title -}}

{{- $description := .Params.description -}} {{- $IsTerm := in .Kind "term" -}} {{- if $IsTerm -}} {{- $description = $description | default (T "list.page" (len .Pages)) -}} {{- end -}} {{- if or $description (not .Date.IsZero) -}}
{{- if not .Date.IsZero -}} {{- else if $description -}} {{- $description -}} {{ end }}
{{- end -}}
{{- $image := partial "helper/image" (dict "Image" .Params.image "Resources" .Resources) -}} {{ if $image }}
{{ partial "helper/thumbnail-image" (dict "Resource" $image.Resource "Width" 60 "Height" 60 "Resize" .Site.Params.ImageProcessing.Thumbnail.Enabled "Attributes" (dict "src" $image.Permalink "alt" .Title "loading" "lazy" "width" $image.Width "height" $image.Height ) ) }}
{{ end }}