Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit 29a9156

Browse files
committed
Merge pull request #155 from lambda/add-community-subteam
Add community subteam
2 parents b2d03d1 + 22ea602 commit 29a9156

File tree

2 files changed

+40
-7
lines changed

2 files changed

+40
-7
lines changed

_layouts/default.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<header>
1919

2020
<ul class="row menu">
21-
<li class="col-xs-12 col-md-4">
21+
<li class="col-xs-12 col-md-2">
2222
<a href="index.html">
2323
<img class="img-responsive" src="logos/rust-logo-blk.svg" onerror="this.src='logos/rust-logo-256x256-blk.png'" height="128" width="128" alt="Rust logo" />
2424
</a>
@@ -75,6 +75,13 @@
7575
</li>
7676
</ul>
7777
</li>
78+
<li class="col-xs-4 col-md-2"><h2>&nbsp;</h2>
79+
<ul>
80+
<li>
81+
<a href="team.html">Team</a>
82+
</li>
83+
</ul>
84+
</li>
7885
</ul>
7986
</header>
8087
{{ content }}

team.md

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ people:
1616
name: Brian Koropoff
1717
brson:
1818
name: Brian Anderson
19+
bstrie:
20+
name: Ben Striegel
1921
BurntSushi:
2022
name: Andrew Gallant
2123
irc: burntsushi
@@ -53,8 +55,13 @@ people:
5355
name: Patrick Walton
5456
pnkfelix:
5557
name: Felix Klock
58+
rpcraig:
59+
name: Rachel Craig
60+
site: twitter
5661
sfackler:
5762
name: Steven Fackler
63+
skade:
64+
name: Florian Gilcher
5865
steveklabnik:
5966
name: Steve Klabnik
6067
vadimcn:
@@ -83,10 +90,23 @@ teams:
8390
responsibility: "tool support (e.g. Cargo, multirust), CI infrastructure, etc."
8491
members: [brson, nrc, alexcrichton, vadimcn, wycats, michaelwoerister]
8592
lead: alexcrichton
93+
- name: Community
94+
responsibility: "coordinating events, outreach, commercial users, teaching materials, and exposure"
95+
lead: steveklabnik
96+
members: [brson, rpcraig, skade, manishearth, steveklabnik, bstrie, erickt]
8697
- name: Moderation
8798
responsibility: "helping uphold the <a href='http://www.rust-lang.org/conduct.html'>code of conduct</a>"
8899
members: [mbrubeck, BurntSushi, manishearth, pnkfelix, erickt]
89100
101+
102+
# Information on sites to get profile information from
103+
sites:
104+
github:
105+
url: https://github.com/%nick
106+
avatar: http://avatars.githubusercontent.com/%nick
107+
twitter:
108+
url: https://twitter.com/%nick
109+
avatar: https://avatars.io/twitter/%nick?size=large
90110
---
91111

92112
<style type="text/css">
@@ -146,13 +166,19 @@ rosters, in alphabetical order.
146166
{% endif %}
147167

148168
<ul class="headshots">
149-
{% for github in team.members %}
150-
{% assign person = page.people[github] %}
151-
<li class="person {% if team.lead and team.lead == github %}lead{% endif %}">
152-
<a href="https://github.com/{{ github }}">
169+
{% for nick in team.members %}
170+
{% assign person = page.people[nick] %}
171+
{% if person.site %}
172+
{% assign sitename = person.site %}
173+
{% else %}
174+
{% assign sitename = "github" %}
175+
{% endif %}
176+
{% assign site = page.sites[sitename] %}
177+
<li class="person {% if team.lead and team.lead == nick %}lead{% endif %}">
178+
<a href="{{ site.url | replace:'%nick',nick }}">
153179
<div class="name">{{ person.name }}</div>
154-
<div class="irc">irc: {% if person.irc %}{{ person.irc }}{% else %}{{ github }}{% endif %}</div>
155-
<img class="headshot" src="http://avatars.githubusercontent.com/{{ github }}">
180+
<div class="irc">irc: {% if person.irc %}{{ person.irc }}{% else %}{{ nick }}{% endif %}</div>
181+
<img class="headshot" src="{{ site.avatar | replace:'%nick',nick }}">
156182
</a>
157183
</li>
158184
{% endfor %}

0 commit comments

Comments
 (0)