-
Notifications
You must be signed in to change notification settings - Fork 45
/
index.html
39 lines (39 loc) · 2.21 KB
/
index.html
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
---
---
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ot-crew</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Cabin+Sketch:bold|Ubuntu|Cabin">
<link rel="stylesheet" href="public/stylesheets/normalize.css">
<link rel="stylesheet" href="public/stylesheets/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
<header>
<h1>-ot!</h1>
<p>We are {% capture number_of_homies %}{{ site.data.crew | size }}{% endcapture %}{{ number_of_homies }} strong!</p>
<input type="text" id="crewSearch" placeholder="Search...">
</header>
<ul id="crew">
{% for crew_data in site.data.crew %}
{% assign handle = crew_data[0] %}
{% assign og = crew_data[1] %}
<li id="{{ handle | upcase }}">
<h3><img src="{% if og.imgUrl %}{{ og.imgUrl }}{% else %}public/images/batman-for-facebook.jpg{% endif %}" width="23" height="23" /><span class="name">{{ og.name }}</span></h3>
<ul>
<li class="irc">IRC nick: {{ handle }}</li>
{% if og.twitter %}<li class="twitter">Twitter: <a href="https://twitter.com/{{ og.twitter }}">@{{ og.twitter }}</a></li>{% endif %}
{% if og.github %}<li class="github">GitHub: <a href="https://github.com/{{ og.github }}">{{ og.github }}</a></li>{% endif %}
{% if og.location %}<li class="location"><a href="https://maps.google.com/maps?&q={{ og.location }}" title="Show it on a big map"><img src="https://maps.googleapis.com/maps/api/staticmap?center={{ og.location }}&size=200x200&sensor=false&key=AIzaSyA_1hGuktni_M7bqQ2cxVfd46FRmsn2ECQ" width="200" height="200" /></a></li>{% endif %}
{% if og.occupation %}<li class="occupation">Occupation: {{ og.occupation }}</li>{% endif %}
{% if og.birthday %}<li class="birthday">Birthday: {{ og.birthday }}</li>{% endif %}
{% if og.website %}<li class="website">Website: <a href="{{ og.website }}">{{ og.website }}</a></li>{% endif %}
</ul>
</li>
{% endfor %}
</ul>
<script src="public/javascripts/sex.js"></script>
</body>
</html>