{{- $avatar := "" -}} {{- if .Site.Params.gravatar.email -}} {{- $avatar = (printf "https://www.gravatar.com/avatar/%s?s=240&d=mp" (md5 .Site.Params.gravatar.email)) -}} {{- else if .Site.Params.avatar -}} {{- $avatar = .Site.Params.avatar -}} {{- end -}} {{- if $avatar -}}
avatar
{{- end -}} {{- with .Site.Params.subtitle -}}

{{- $id := md5 . | printf "tp-%s" -}}
{{- with $.Scratch.Get "typeitMap" -}} {{- $.Scratch.Set "typeitMap" (dict $id (slice $id) | merge .) -}} {{- else -}} {{- $.Scratch.Set "typeitMap" (dict $id (slice $id)) -}} {{- end -}}

{{- end -}}