Repository navigation
Expand file tree
/
Copy pathabout.html
More file actions
45 lines (43 loc) · 1.46 KB
/
Copy pathabout.html
File metadata and controls
45 lines (43 loc) · 1.46 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
---
layout: default
title: About
---
<div id="about">
<h2>About</h2>
<p>
We're a group of developers, designers, tinkers. We want to have fun building things and learning something new. We're Hackatron.
</p>
<h2>People</h2>
<ul class="unstyled" id="people"></ul>
<h2>Notes</h2>
<p>
Source of this blog and projects' code can be found at <a href="http://github.com/hackatron">http://github.com/hackatron</a>.
</p>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="https://raw.github.com/potomak/jquery-github/master/jquery.github.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#people").github({
organization: 'hackatron'
, onComplete: function(response) {
var length = typeof response.data != 'undefined' ? response.data.length : 0;
console.log(response);
if(length > 0) {
for(var i = 0; i < length; i++) {
this.append("<li>"
+ "<img src='" + response.data[i].avatar_url + "' width='48'/>"
+ "<p>"
+ "<a href='http://github.com/" + response.data[i].login + "'>http://github.com/" + response.data[i].login + "</a>"
+ "</p>"
+ "</li>"
);
}
}
else {
this.html("Nobody");
}
}
});
});
</script>