-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcollaborators.html
More file actions
43 lines (42 loc) · 1.58 KB
/
collaborators.html
File metadata and controls
43 lines (42 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
layout: default
title: Collaborators
notitle: true
collab_types-tables:
- - collab_types: [university]
width: 4
image: true
- - collab_types: [grad]
width: 4
image: true
---
{% for collab_types-table in page.collab_types-tables %}
{% for collab_types-column in collab_types-table %}
{% for collab_types-key in collab_types-column.collab_types %}
{% for collab_types in site.collab_types %}
{% if collab_types.key == collab_types-key %}
<div class="row">
<div class="col-lg-6" style="background-color: #000000; color: white; padding-top: 10px">
<h1>{{ collab_types.name }}</h1>
</div>
</div>
<div class="row">
{% for item in site.data.collaborators %}
{% assign collaborator = item[1] %}
{% if collab_types-key == collaborator.collab_type %}
<div class="col-md-6 {{ collab_types.key }}" style="padding-top: 15px">
<a href="{{collaborator.webpage}}" target="_blank">
<div class="card bg-inverse" >
<img class="card-img" style="aspect-ratio: 2/1;" src="{{ site.base }}/{{ collaborator.image }}" alt="{{collaborator.name}}">
<div class="card-img-overlay d-flex flex-column justify-content-end" style="padding: 0px">
<div style="background-color: #363636aa; color: white; padding-left: 5px">
<h4 class="card-title" style="margin-bottom: 0px">{{collaborator.name}}</h4>
</div>
</div>
</div>
</a>
</div>
{% endif %}
{% endfor %}
</div>
{% endif %} {% endfor %} {% endfor %} {% endfor %} {% endfor %}