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