{{- $profile := .Site.Params.home.profile -}}
{{- $avatar := $profile.avatarURL -}} {{- with $profile.gravatarEmail -}} {{- $avatar = md5 . | printf "https://www.gravatar.com/avatar/%s?s=240&d=mp" -}} {{- end -}} {{- if $avatar -}}
{{- $menus := $.Site.Menus.main | default slice -}} {{- with index $menus 0 -}} {{- $url := .URL | relLangURL -}} {{- with .Page -}} {{- $url = .RelPermalink -}} {{- end -}} {{- dict "src" $avatar "alt" .Name | partial "plugin/image.html" -}} {{- else -}} {{- dict "src" $avatar | partial "plugin/image.html" -}} {{- end -}}
{{- end -}} {{- with $profile.title -}}

{{- . -}}

{{- end -}} {{- with $profile.subtitle -}}

{{- if $profile.typeit -}} {{- $id := dict "content" . "scratch" $.Scratch | partial "function/id.html" -}}
{{- dict $id (slice $id) | dict "typeitMap" | merge ($.Scratch.Get "this") | $.Scratch.Set "this" -}} {{- else -}} {{- . -}} {{- end -}}

{{- end -}} {{- if $profile.social -}} {{- end -}} {{- with $profile.disclaimer -}}

{{- . | safeHTML -}}

{{- end -}}