2022-04-11 22:20:35 +03:00
|
|
|
<div class="col-md-3 col-6">
|
|
|
|
<div class="user-card">
|
|
|
|
<img class="user-img" src="{{ .image }}" alt="" />
|
2023-03-21 12:32:42 +02:00
|
|
|
<a {{ with .url }}href="{{ . }}"{{ end }} class="user-name">
|
2022-04-11 22:20:35 +03:00
|
|
|
{{ with .prefix }} {{ . }} {{ end }}
|
|
|
|
{{ .name }}{{ with .postfix }}, {{ . }} {{ end }}
|
|
|
|
</a>
|
|
|
|
{{ with .affiliation }}
|
|
|
|
<div class="user-role">
|
|
|
|
{{ . }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ if (ne .roles nil ) }}
|
|
|
|
{{ if and (ne (delimit .roles "") "advisor") (ne (delimit .roles "") "fellow") }}
|
|
|
|
<div class="user-position">
|
|
|
|
{{ delimit .roles " • " }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ if eq .roles nil }}
|
|
|
|
{{ with .past_roles }}
|
|
|
|
<div class="user-position">
|
|
|
|
{{ delimit . " • " }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
<div class="user-social d-flex">
|
|
|
|
{{ with .email }}<a href="mailto:{{ . }}"><img src="/images/gnome-icon-hicontrast-scalable/actions/mail-mark-unread.svg" alt="" /></a>{{ end }}
|
2022-10-07 12:55:54 +03:00
|
|
|
{{ with .home }}<a href="{{ . }}"><img src="/images/gnome-icon-hicontrast-scalable/actions/go-home.svg" alt="" /></a>{{ end }}
|
2022-04-11 22:20:35 +03:00
|
|
|
<!-- {{ with .twitter }}<a href="https://twitter.com/{{ . }}"><img src="/images/users/twitter.svg" alt="" /></a>{{ end }} -->
|
|
|
|
<!-- {{ with .github }}<a href="https://github.com/{{ . }}"><img src="/images/users/github.svg" alt="" /></a>{{ end }} -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|