File tree Expand file tree Collapse file tree 2 files changed +352
-57
lines changed Expand file tree Collapse file tree 2 files changed +352
-57
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,43 @@ layout: page
57
57
{% include figure .liquid loading ="eager" path =profile_image_path class =profile_image_class sizes =sizes alt =profile .image %}
58
58
{% endif %}
59
59
<div class =" profile-name" >{{ profile .name }}</div > <!-- Name at the bottom -->
60
+ <div class =" profile-degree" >{{ profile .degree }}</div > <!-- Name at the bottom -->
60
61
{% if profile .more_info %}
61
62
<div class =" more-info" >{{ profile .more_info }}</div >
62
63
{% endif %}
63
64
</div >
64
65
</div >
65
66
{% endif %}
66
67
{% endfor %}
68
+
69
+
70
+ <!-- Alumni Header -->
71
+ <h2 >Alumni</h2 >
72
+ <div class =" row" >
73
+ {% for profile in page .profiles %}
74
+ {% if profile .type == 'alumni' %}
75
+ <div class =" col-md-4" >
76
+ <div class =" shadow-box text-center" >
77
+ {% if profile .image %}
78
+ {% assign profile_image_path = profile .image | prepend: 'assets/img/' %}
79
+ {% if profile .image_circular %}
80
+ {% assign profile_image_class = 'img-fluid z-depth-1 rounded-circle' %}
81
+ {% else %}
82
+ {% assign profile_image_class = 'img-fluid z-depth-1 rounded' %}
83
+ {% endif %}
84
+ {% capture sizes %}(min-width: {{site .max_width }}) {{ site .max_width | minus: 30 | times: 0.3 }}px, (min-width: 576px) 20vw, 50vw"{% endcapture %}
85
+ {% include figure .liquid loading ="eager" path =profile_image_path class =profile_image_class sizes =sizes alt =profile .image %}
86
+ {% endif %}
87
+ <div class =" profile-name" >{{ profile .name }}</div > <!-- Name at the bottom -->
88
+ <div class =" profile-degree" >{{ profile .degree }}</div > <!-- Name at the bottom -->
89
+ {% if profile .more_info %}
90
+ <div class =" more-info" >{{ profile .more_info }}</div >
91
+ {% endif %}
92
+ </div >
93
+ </div >
94
+ {% endif %}
95
+ {% endfor %}
96
+
67
97
</div >
68
98
69
99
{% endif %}
You can’t perform that action at this time.
0 commit comments