{{- /* To edit the content, see: https://gitlab.com/gitlab-com/www-gitlab-com/-/tree/master/data/team_members/person */}} {{- /* Initialize. */}} {{- $department := "" }} {{- /* Get params. */}} {{- with (.Get 0) }} {{- $department = . }} {{- else }} {{- errorf "The %q shortcode requires a single positional argument for department."}} {{- end }} {{- $members := where site.Data.public.team "departments" "intersect" (slice $department) }} {{- range $members }} {{- end }}
Name Role Speciality
{{ partial "member/with-team-link" . }} {{.role | safe.HTML}} {{- if reflect.IsSlice .specialty }} {{- if gt (len .specialty) 1 }}
    {{ range .specialty }}
  • {{.}}
  • {{ end }}
{{- else }} {{ index .specialty 0 }} {{- end }} {{- else }} {{ .specialty }} {{- end }}