{{- $scratch := .Scratch.Get "scratch" -}}
{{- $avatar := .Site.Params.home.profile.avatarURL -}} {{- with .Site.Params.home.profile.gravatarEmail -}} {{- $avatar = md5 . | printf "https://www.gravatar.com/avatar/%s?s=240&d=mp" -}} {{- end -}} {{- with $avatar -}}
{{- partial "plugin/image.html" (dict "src_s" . "title" "avatar" "description" (T "home") "scratch" $scratch) -}}
{{- end -}} {{- with .Site.Params.home.profile.subtitle -}}

{{- if $.Site.Params.home.profile.typeit -}} {{- $id := partial "function/id.html" (dict "content" . "scratch" $scratch) -}}
{{- $scratch.SetInMap "typeitMap" $id (slice $id) -}} {{- else -}} {{- . -}} {{- end -}}

{{- end -}} {{- if .Site.Params.home.profile.social -}} {{- partial "plugin/social.html" (dict "social" .Site.Params.social "scratch" $scratch) -}} {{- end -}} {{- with .Site.Params.home.profile.disclaimer -}}

{{- . | safeHTML -}}

{{- end -}}