File tree Expand file tree Collapse file tree 2 files changed +35
-5
lines changed Expand file tree Collapse file tree 2 files changed +35
-5
lines changed Original file line number Diff line number Diff line change @@ -62,17 +62,47 @@ layout: page
62
62
{% include figure .liquid loading ="eager" path =profile_image_path class =profile_image_class sizes =sizes alt =profile .image %}
63
63
{% endif %}
64
64
<div class =" profile-name" >{{ profile .name }}</div > <!-- Name at the bottom -->
65
+ {% if profile .degree %}
66
+ <div class =" degree-name" >{{ profile .degree }}</div > <!-- Degree name -->
67
+ {% endif %}
65
68
{% if profile .more_info %}
66
69
<div class =" more-info" >{{ profile .more_info }}</div >
67
70
{% endif %}
68
71
</div >
69
72
</div >
70
73
{% endif %}
71
74
{% endfor %}
75
+ </div >
72
76
73
-
74
-
75
-
77
+ <!-- Alumni Header -->
78
+ <h2 >Alumni</h2 >
79
+ <div class =" row" >
80
+ {% for profile in page .profiles %}
81
+ {% if profile .type == 'alumni' %}
82
+ <div class =" col-md-4" >
83
+ <div class =" shadow-box text-center" >
84
+
85
+ {% if profile .image %}
86
+ {% assign profile_image_path = profile .image | prepend: 'assets/img/' %}
87
+ {% if profile .image_circular %}
88
+ {% assign profile_image_class = 'img-fluid z-depth-1 rounded-circle' %}
89
+ {% else %}
90
+ {% assign profile_image_class = 'img-fluid z-depth-1 rounded' %}
91
+ {% endif %}
92
+ {% capture sizes %}(min-width: {{site .max_width }}) {{ site .max_width | minus: 30 | times: 0.3 }}px, (min-width: 576px) 20vw, 50vw"{% endcapture %}
93
+ {% include figure .liquid loading ="eager" path =profile_image_path class =profile_image_class sizes =sizes alt =profile .image %}
94
+ {% endif %}
95
+ <div class =" profile-name" >{{ profile .name }}</div > <!-- Name at the bottom -->
96
+ {% if profile .degree %}
97
+ <div class =" degree-name" >{{ profile .degree }}</div > <!-- Degree name -->
98
+ {% endif %}
99
+ {% if profile .more_info %}
100
+ <div class =" more-info" >{{ profile .more_info }}</div >
101
+ {% endif %}
102
+ </div >
103
+ </div >
104
+ {% endif %}
105
+ {% endfor %}
76
106
</div >
77
107
78
108
{% endif %}
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ profiles:
266
266
</div>
267
267
268
268
269
- <!-- - align : left
269
+ - align : left
270
270
type : alumni
271
271
name : Arka Daw
272
272
degree : PhD Student
@@ -391,7 +391,7 @@ profiles:
391
391
</p>
392
392
</div>
393
393
394
- -->
394
+
395
395
396
396
397
397
---
You can’t perform that action at this time.
0 commit comments