{{ define "main" }}
{{ partial "components/title.html" .Title }} {{.Content}}
{{ range (where .Pages "Params.leaveDate" "==" nil).ByParam "startDate" }}
{{ if .Params.image }} {{- partial "components/image.html" (dict "style" "avatar" "url" .Params.image "alt" .Params.name) -}} {{ else }} {{- partial "components/image.html" (dict "style" "avatar" "url" $.Site.Params.defaultimage "alt" "Placeholder") -}} {{ end }}

{{ .Params.name }}

{{- range .Params.jobs }}

{{ . }}

{{- end }}
{{ end }}
{{ end }}