diff --git a/_includes/member-affiliations.html b/_includes/member-affiliations.html new file mode 100644 index 00000000..ccd07c80 --- /dev/null +++ b/_includes/member-affiliations.html @@ -0,0 +1,16 @@ +{% assign affiliations = include.affiliations | default: empty %} +{% assign affiliations = affiliations | join: "," | split: "," | array_filter %} + +{% if affiliations.size > 0 %} +
+ {% for affiliation in affiliations %} + + {{ affiliation }} + + {% endfor %} +
+{% endif %} diff --git a/_includes/portrait.html b/_includes/portrait.html index dade824f..299534c2 100644 --- a/_includes/portrait.html +++ b/_includes/portrait.html @@ -3,6 +3,8 @@ | first | default: include %} +{% assign affiliations = member.affiliations | default: empty %} +{% assign affiliations = affiliations | join: ", " %}
0 %} +
+ {% for affiliation in affiliation_filters %} + + {{ affiliation }} + + {% endfor %} +
+{% endif %} + +{% include search-info.html %} + {% include list.html data="members" component="portrait" filters="role: pi, group: " %} {% include list.html data="members" component="portrait" filters="role: postdoc, group: " %} {% include list.html data="members" component="portrait" filters="role: phd, group: " %}