{{ $name := .name | default (htmlUnescape site.Title) }} {{ $with_labels := .with_labels | default false }} {{ $context := .context | default . }} {{ $use_default_email_label := .use_default_email_label }} {{ $in_itemscope := .in_itemscope }} {{ with $context.emails.email }}
  • {{ $email_label := i18n "commons.contact.email.label" }} {{ if $with_labels }} {{ $email_label }} {{ end }} {{ cond $use_default_email_label $email_label .label }}
  • {{ end }} {{ range $key, $value := $context.social_networks }}
  • {{ $label := i18n (printf "commons.contact.socials.social_networks.%s" $key) }} {{ if $with_labels }} {{ $label }} {{ end }} {{ $a11y_label := i18n "commons.contact.socials.label.social_media" (dict "media" $label "name" $name ) }} {{ if eq $key "rss"}} {{ $a11y_label = i18n "commons.contact.socials.label.rss" (dict "media" $label "name" $name ) }} {{ end }} {{ $label }}
  • {{ end }}