forked from OpenScienceLabs/opensciencelabs.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathteam.html
More file actions
70 lines (61 loc) · 2.19 KB
/
Copy pathteam.html
File metadata and controls
70 lines (61 loc) · 2.19 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{% extends "base.html" %}
{% block header_extra %}
<link rel="stylesheet" href="/css/team.css">
{% endblock header_extra %}
{% block content %}
<section class="team-grid py-2">
<div class="row">
<div class="col-md-12 mx-auto">
{% block content_inner %}
{{ page.content }}
{% endblock content_inner %}
</div>
</div>
{% for group in page.meta["teams"] %}
<div class="row pt-3">
<div class="col-md-12 mx-auto">
<h2 class="mb-3">{{ group.name }}</h2>
<!-- Responsive grid with gutter spacing -->
<div class="row row-cols-1 row-cols-sm-2 row-cols-lg-3 g-4">
{% for member in group.members %}
<div class="col">
<div class="card h-100">
{% if member.image_url %}
<img src="{{ member.image_url }}" class="card-img-top" alt="{{ member.name }}">
{% endif %}
<div class="card-body d-flex flex-column">
<div class="d-flex justify-content-between align-items-start">
<h3 class="card-title mb-2">{{ member.name }}</h3>
{% if member.github_url %}
<div class="social">
<a class="git_ico" href="{{ member.github_url }}" target="_blank" aria-label="{{ member.name }} on GitHub" rel="noopener">
<svg class="icon"><use xlink:href="#github"/></svg>
</a>
</div>
{% endif %}
</div>
{% if member.bio %}
<p class="card-text mb-2">{{ member.bio }}</p>
{% endif %}
{% if "github_sponsor" in member %}
<div class="sponsor mt-auto">
<small class="text-secondary d-block mb-1">Support this work:</small>
<iframe
src="{{ member.github_sponsor }}"
title="Sponsor {{ member.name }}"
height="35"
width="116"
style="border:0"
></iframe>
</div>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
{% endfor %}
</section>
{% endblock content %}