Skip to content

Commit 5bd6720

Browse files
committed
Add avatars and make about page two-column
1 parent d091a44 commit 5bd6720

File tree

4 files changed

+66
-26
lines changed

4 files changed

+66
-26
lines changed

_data/associates.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
## When putting either quotes or exposition into the same types of
2+
## slots, ensure quotations are displayed surrounded by quotes marks to
3+
## differentiate the two types of information
4+
associates:
5+
-
6+
name: John Newbery
7+
role: Director & Engineer, Optech
8+
other_affiliation: Developer, Chaincode Labs
9+
github: jnewbery
10+
avatar: https://avatars1.githubusercontent.com/u/1063656?s=400&v=4
11+
-
12+
name: James O'Beirne
13+
role: Engineer, Optech
14+
other_affiliation: Developer, Chaincode Labs
15+
github: jamesob
16+
avatar: https://avatars1.githubusercontent.com/u/73197?s=400&v=4
17+
-
18+
name: Steve Lee
19+
role: Project Manager, Optech
20+
github: moneyball
21+
avatar: https://avatars0.githubusercontent.com/u/326147?s=400&v=4
22+
-
23+
name: David A. Harding
24+
role: Contributing Technical Writer, Optech
25+
github: harding
26+
avatar: https://avatars1.githubusercontent.com/u/61096?s=400&v=4
27+
-
28+
name: Marcin Jachymiak
29+
role: Engineer, Optech
30+
github: marcinja
31+
avatar: https://avatars1.githubusercontent.com/u/12243734?s=400&v=4

_includes/associates.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{% assign associates = site.data.associates.associates %}
2+
3+
<div id="associates">
4+
5+
<ul class="associates two-column-list">
6+
{% for associate in associates %}
7+
{% assign avatar=associate.avatar %}
8+
{% unless associate.avatar contains 'https://' %}{% capture avatar %}/assets/images/team/{{associate.avatar}}{% endcapture %}{% endunless %}
9+
<li>
10+
<img src="{{ avatar }}" class="bio-photo" width="150" height="150" alt="{{ associate.name }}" title="{{ associate.name }}">
11+
<h3 itemprop="name">{{ associate.name }}</h3>
12+
<p>{{ associate.role }} {% if associate.other_affiliation %}<br/>{{ associate.other_affiliation }}{% endif %}</p>
13+
<a href="https://github.com/{{ associate.github }}" class="author-github" target="_blank"><i class="fa fa-fw fa-github-square" rel="nofollow"></i>GitHub</a>
14+
</li>
15+
{% endfor %}
16+
</ul>
17+
18+
</div>

_layouts/page.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
layout: default
3+
---
4+
<link rel="stylesheet" href="/assets/css/main.css">
5+
6+
<article class="post">
7+
8+
<header class="post-header">
9+
<h1 class="post-title">{{ page.title | escape }}</h1>
10+
</header>
11+
12+
<div class="post-content">
13+
{{ content }}
14+
</div>
15+
16+
</article>

about.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,4 @@ permalink: /about/
55
---
66
Principles and associates of Optech:
77

8-
- **John Newbery**
9-
<br>Director & Engineer, Optech
10-
<br>Developer, Chaincode Labs
11-
<br>[GitHub][jnewbery github]
12-
13-
- **James O'Beirne**<br>Engineer, Optech
14-
<br>Developer, Chaincode Labs
15-
<br>[GitHub][jamesob github]
16-
17-
- **Steve Lee**
18-
<br>Project Manager, Optech
19-
<br>[GitHub][moneyball github]
20-
21-
- **David A. Harding**
22-
<br>Contributing Technical Writer, Optech
23-
<br>[GitHub][harding github]
24-
25-
- **Marcin Jachymiak**
26-
<br>Engineer, Optech
27-
<br>[GitHub][marcinja github]
28-
29-
[jnewbery github]: https://github.com/jnewbery
30-
[jamesob github]: https://github.com/jamesob
31-
[moneyball github]: https://github.com/moneyball
32-
[harding github]: https://github.com/harding
33-
[marcinja github]: https://github.com/marcinja
8+
{% include associates.html %}

0 commit comments

Comments
 (0)