Skip to content

Commit 40b3b55

Browse files
committed
include list of users
1 parent 5bad072 commit 40b3b55

File tree

4 files changed

+32
-1
lines changed

4 files changed

+32
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_site

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
gems:
2+
- jemoji

_data/users/obama.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name: Barack Obama
2+
agency: The White House
3+
office: Executive Office of the President
4+
emoji: '+1'

index.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
---
3+
14
<!DOCTYPE html>
25
<html lang="en">
36
<head>
@@ -58,14 +61,15 @@
5861
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
5962
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
6063
61-
Hi there! Great job on pulling back the curtain.
64+
Hi there! Great job on pulling back the curtain.
6265
We're always looking for curious people with diverse skill-sets. Let's talk at [email protected]
6366
6467
-->
6568

6669
<link href="styles/bootstrap-3.1.1.min.css" rel="stylesheet">
6770
<link href='//fonts.googleapis.com/css?family=Raleway:400,700|Open+Sans:300,600' rel='stylesheet' type='text/css'>
6871
<link href="styles/18f.min.css" rel="stylesheet">
72+
<link href="https://afeld.github.io/emoji-css/emoji.css" rel="stylesheet">
6973
<!-- <link href="styles/fonts.css" rel="stylesheet"> -->
7074
<!-- <link href="styles/18f.css" rel="stylesheet"> -->
7175
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
@@ -87,6 +91,26 @@ <h1>This is your very own site, YOUR_CONFIGURED_MICROSITE_NAME_HERE</h1>
8791
<p>This is a second paragraph, which should also be replaced.</p>
8892
<p>This is a third paragraph, which should also be
8993
replaced.</p>
94+
<ul>
95+
{% for user_hash in site.data.users %}
96+
{% assign username = user_hash[0] %}
97+
{% assign user = user_hash[1] %}
98+
99+
<li>
100+
<div>{{ user.name }}</div>
101+
<div>
102+
{{ user.office }}, {{ user.agency }}
103+
</div>
104+
<div>
105+
<a href="https://github.com/{{ username }}">@{{ username }}</a>
106+
</div>
107+
<div>
108+
{% assign emoji = user.emoji | replace:'+','--' %}
109+
<i class="em em-{{ emoji }}"></i>
110+
</div>
111+
</li>
112+
{% endfor %}
113+
</ul>
90114
</div>
91115
</div>
92116
<div class="row">

0 commit comments

Comments
 (0)