{{- $profile := .Site.Params.home.profile -}}
{{- $avatar := $profile.avatarURL -}} {{- with $profile.gravatarEmail -}} {{- $avatar = md5 . | printf "https://www.gravatar.com/avatar/%v?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 | partial "plugin/img.html" -}} {{- else -}} {{- dict "Src" $avatar | partial "plugin/img.html" -}} {{- end -}}
{{- end -}} {{- with $profile.title -}}

{{- . | safeHTML -}}

{{- 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 -}}